Closed starbops closed 1 year ago
Works great!
./harv-purge-images.sh v1.1.1 v1.1.2 My only suggestion would be to run shellcheck on this script and consider some of its suggestions, but aside from that, LGTM.
Followed the suggestions from shellcheck's result. Thanks!
The script looks good me, and would prefer to show the free space of
/usr/local/
either before or after the clean up, thanks.
There are already df -h /usr/local
in the original script. But I move the "before" one right before the prompting, so users can see it more easily. PTAL, thanks!
Related issue: harvester/harvester#2132
Test Plan
/usr/local
, on the node./harv-purge-images.sh v1.1.2 v1.2.0-rc3