Skip to content

Commit

Permalink
Merge pull request #238 from medea61/v4__vagrant-vmware_fusion
Browse files Browse the repository at this point in the history
support for vagrant-vmware_fusion provider #2
  • Loading branch information
barryo committed Oct 26, 2015
2 parents 242ae6a + 765a63f commit 77d8894
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ Vagrant.configure(2) do |config|
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "ubuntu/vivid64"

# in case you want to use VMware Fusion instead of Virtualbox we need a
# slightly different base box
config.vm.provider "vmware_fusion" do |v, override|
override.vm.box = "vmtrooper/ubuntu-15.04-x64"
end

# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
# `vagrant box outdated`. This is not recommended.
Expand Down Expand Up @@ -70,6 +76,11 @@ Vagrant.configure(2) do |config|
# View the documentation for the provider you are using for more
# information on available options.

config.vm.provider "vmware_fusion" do |vm|
vm.vmx["memsize"] = "1024"
vm.vmx["numvcpus"] = "2"
end

# Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
# such as FTP and Heroku are also available. See the documentation at
# https://docs.vagrantup.com/v2/push/atlas.html for more information.
Expand Down

0 comments on commit 77d8894

Please sign in to comment.