Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Packaging VMWare Fusion Vagrant Box

On Mac

Go to vmware vm files:
cd /path/to/vagrant-vm/.vagrant/machines/default/vmware_fusion/some-random-string

Defragment vm disk:
/Applications/VMware\ -d Virtual\ Disk.vmdk

Shrink vm disk:
/Applications/VMware\ -k Virtual\ Disk.vmdk

Tar/Gzip files:
tar zcvf ./*



This comment has been minimized.

Copy link

Fashaun commented Mar 19, 2019

Hi ,

which files should I keep in "some-random-string" dir before packaging vagrant box file

thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.