Basic Provider Usage

Basic Provider Usage

Boxes

Vagrant boxes are all provider-specific. A box for VirtualBox is incompatible with the VMware Fusion provider, or any other provider. A box must be installed for each provider, and can share the same name as other boxes as long as the providers differ. So you can have both a VirtualBox and VMware Fusion "precise64" box.

Installing boxes has not changed at all:

$ vagrant box add \
  precise64 https://files.hashicorp.com/precise64.box

Vagrant now automatically detects what provider a box is for. This is visible when listing boxes. Vagrant puts the provider in parentheses next to the name, as can be seen below.

$ vagrant box list
precise64 (virtualbox)
precise64 (vmware_fusion)

Vagrant Up

Once a provider is installed, you can use it by calling vagrant up with