MSNoise icon indicating copy to clipboard operation
MSNoise copied to clipboard

what does the purpose of minimize script?

Open nivazri opened this issue 7 years ago • 3 comments

packer-templates/scripts/common/minimize.sh whats is the purpose of this script?

nivazri avatar Dec 07 '16 08:12 nivazri

It zeros out unused disk blocks so that those blocks can be removed from the underlying virtual disk.

kaorimatz avatar Dec 07 '16 12:12 kaorimatz

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.

ek9 avatar Jan 15 '17 17:01 ek9

I recommend putting this in a comment inside the file instead.

jcrben avatar Oct 08 '17 18:10 jcrben