VMware Provider Plugin

HashiCorp develops an official VMware Fusion and VMware Workstation provider for Vagrant. This provider allows Vagrant to power VMware based machines and take advantage of the improved stability and performance that VMware software offers.

The Vagrant VMware plugin is now open sourced under the MPL. The code repository for the Vagrant VMware plugin is available on GitHub.1

Installation

VMware Desktop (Provider)

Install VMware Desktop Plugin via command:

> vagrant plugin install vagrant-vmware-desktop

VMware Utility

And then download and install Vagrant VMware Utility.

Usage

Example Vagrantfile for archlinux:

Vagrant.configure("2") do |config|
  config.vm.box = "generic/arch"
  config.vm.provider "vmware_desktop" do |v|
    v.vmx["displayname"] = "archlinux"
  end
end
// Start VM:
> vagrant up
// Without 'config.vm.provider' configured:
> vagrant up --provider vmware-desktop

Boxes

Some distributions do not available for VMware, Roboxes and Generic provides many OSs for different virtualized platforms.