VVV with VMware Fusion as a Provider

Here is how to modify Varying Vagrant Vagrants (VVV) install to use the VMware Fusion or Workstation provider. I use VVV for WordPress development and wanted to use the Fusion provider to take advantage of the performance and stability improvements offered by the VMware provider, plus I payed for the software. I have also run VVV on the default VM (and it works great). I don’t recommend buying VMWare’s Fusion or Workstation product just for VVV. Note you will also need to purchase a license from Vagrant.

OK on to the changes necessary.

Install the plugin for VMware:

From the command line run:

$: vagrant plugin install vagrant-vmware-fusion or vagrant-vmware-workstation

Replace vagrant-vmware-fusion with vagrant-vmware-workstation if you are running that product.

Install your License for the plugin

$: vagrant plugin license vagrant-vmware-fusion /path/license.lic

Again replace vagrant-vmware-fusion with vagrant-vmware-workstation if you need.

Add the Box

From command line vagrant box add precise64 http://files.vagrantup.com/precise64.box

Edit you vagrant file

make the following changes to your vagrant file:

config.vm.provider "vmware_fusion" do |v|
v.vmx["memsize"] = "512"

config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64_vmware_fusion.box"

When you run vagrant up you many need the to add the --provider=vmware_fusion parameter like so: vagrant up --provider=vmware_fusion