Greetings! This is a very quick post to get out my notes on setting up Vagrant to run VMware Fusion on OS X Mavericks. The instructions on Vagrant’s site are decent enough, but I though some things were missing, primarily that you need to actually buy the provider plugin and for some reason was thinking it meant that you have to buy VMware itself (which I of course do own), and how to get the license file.
Here are the steps that made my life easier:
- Make sure to install rvm and make sure any gem you install is user-level and not requiring sudo. Maybe this seems straightforward, but I ended up having to re-install RVM as I had been using Linux so much, that my Mac’s setup needed some love.
- Make sure your installation of Homebrew is in good shape. Run
brew doctorto ensure this.
- Install nokogiri/libiconv and the gem per your version of Homebrew
- Install the vagrant provider plugin for Vmware Fusion
$ vagrant plugin install vagrant-vmware-fusion
- Buy the vagrant vmware_fusion plugin license (cost $79)
- After purchase, you will get an email with the license. Save it to a location you will not misplace it
vagrant plugin license vagrant-vmware-fusion
- Run the
vagrant plugin listcommand:
$ vagrant plugin list vagrant-login (1.0.1, system) vagrant-share (1.1.0, system) vagrant-vmware-fusion (2.5.2)
You should now be able to launch VMware images using Vagrant!