Skip to content

Instantly share code, notes, and snippets.

@akitaonrails
Created October 24, 2013 17:40
Show Gist options
  • Star 13 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save akitaonrails/7141738 to your computer and use it in GitHub Desktop.
Save akitaonrails/7141738 to your computer and use it in GitHub Desktop.
Upgrading Vagrant from the default Virtualbox provider to VMWare Fusion on the Mac

I had some headaches yesterday while trying to upgrade to VMWare Fusion with Vagrant.

The steps that work are:

  • export your boxes from Virtualbox to OVA files
  • run 'vagrant destroy' on all your boxes
  • uninstall Virtualbox using the uninstaller script in the installer DMG
  • download VMWare Fusion
  • run 'vagrant plugin install vagrant-vmware-fusion' to install the provider plugin
  • run 'vagrant plugin license vagrant-vmware-fusion license.lic' to install the license you just bought
  • from VMWare, import the OVA files (probably optional, I didn't try to open the OVA)
  • run 'vagrant up' from where your Vagrantfile is. It will create an empty brand new box from your config
  • now open VMWare, open the settings for the newly created vagrant boxes, remove the Harddrive
  • after removing, add a new harddrive device and choose "from existing disk" and then point to the imported box (from the OVA) and choose the vmdk disk. It will recommend you to copy it over to the new machine, do that.
  • if it is Linux, start the machine from VMWare login using 'vagrant' password 'vagrant'
  • run 'sudo /opt/[VBoxGuestAdditions ...]/uninstall.sh
  • run 'vagrant reload' to restart the machine
  • from VMWare go the Machine menu and install vmware tools. It will download an ISO. if your linux box doesn't mount it, find the linux.iso within the VMWare application, open it and copy to the shared /vagrant folder.
  • install the VMWare tools
  • final 'vagrant reload', you're up!
@vlaube
Copy link

vlaube commented Oct 31, 2013

was very useful, thank you!

@miki725
Copy link

miki725 commented May 16, 2014

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment