Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what does the purpose of minimize script? #10

Open
nivazri opened this issue Dec 7, 2016 · 3 comments
Open

what does the purpose of minimize script? #10

nivazri opened this issue Dec 7, 2016 · 3 comments

Comments

@nivazri
Copy link

nivazri commented Dec 7, 2016

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

@kaorimatz
Copy link
Owner

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

@ek9
Copy link
Contributor

ek9 commented Jan 15, 2017

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
Copy link

jcrben commented Oct 8, 2017

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

laf added a commit to laf/packer-templates that referenced this issue Nov 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants