what does the purpose of minimize script?
nivazri opened this issue · 3 comments
nivazri commented
packer-templates/scripts/common/minimize.sh
whats is the purpose of this script?
kaorimatz commented
It zeros out unused disk blocks so that those blocks can be removed from the underlying virtual disk.
ek9 commented
As previously explained, it removes unused space, so that the resulting image (.box
file) can be better compressed. Results in smaller size .box
files.
As it was answered, I suggest to close tihs.
jcrben commented
I recommend putting this in a comment inside the file instead.