Skip to content

Instantly share code, notes, and snippets.

@nickstenning
Last active December 17, 2015 20:39
Show Gist options
  • Save nickstenning/5669665 to your computer and use it in GitHub Desktop.
Save nickstenning/5669665 to your computer and use it in GitHub Desktop.
Vagrantfile with provider overrides
» vagrant box list
precise64_vmware_fusion (vmware_fusion)
» vagrant up --provider vmware_fusion
Bringing machine 'default' up with 'vmware_fusion' provider...
[default] Box 'precise64_vmware_fusion' was not found. Fetching box from specified URL for
the provider 'vmware_fusion'. Note that if the URL does not have
a box for this provider, you should interrupt Vagrant now and add
the box yourself. Otherwise Vagrant will attempt to download the
full box prior to discovering this error.
Downloading or copying the box...
Progress: 0% (Rate: 2090/s, Estimated time remaining: 64:00:51)
...
Vagrant.configure("2") do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.provider :vmware_fusion do |f, override|
override.vm.box = "precise64_vmware_fusion"
override.vm.box_url = "http://files.vagrantup.com/precise64_vmware_fusion.box"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment