Skip to content
How to create VMware vagrant box
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
xenial.json

README.md

myvagrant

  1. create VMware VM

  2. install VMware Tools

  3. copy https://raw.githubusercontent.com/hashicorp/vagrant/master/keys/vagrant.pub to ~/.ssh/authorized_keys

  4. cd /path/to/foo/.vagrant/machines/default/vmware_fusion/blah

  5. /Applications/VMware\ Fusion.app/Contents/Library/vmware-vdiskmanager -d Virtual\ Disk.vmdk

  6. /Applications/VMware\ Fusion.app/Contents/Library/vmware-vdiskmanager -k Virtual\ Disk.vmdk

  7. tar cvzf foo.box ./*

  8. vagrant box add foo-box foo.box

  9. check

     vagrant init foo-box
     
     vagrant up 
    
  10. upload New Version to

     https://app.vagrantup.com/ysz/boxes/foo
    
You can’t perform that action at this time.