vagrant: Add box configuration for vmware

This commit is contained in:
Johannes Meyer 2016-01-18 12:44:12 +01:00
parent 5cc38a3085
commit 41190e740d
1 changed files with 10 additions and 3 deletions

13
Vagrantfile vendored
View File

@ -36,12 +36,19 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
p.cpus = 2
end
config.vm.provider :virtualbox do |v, override|
config.vm.provider :vmware_workstation do |v, override|
override.vm.box = "bento/centos-7.1"
v.vmx["memsize"] = "1024"
v.vmx["numvcpus"] = "1"
end
config.vm.provider :virtualbox do |vb, override|
override.vm.box = "centos-71-x64-vbox"
override.vm.box_url = "http://boxes.icinga.org/centos-71-x64-vbox.box"
v.customize ["modifyvm", :id, "--memory", "1024"]
v.customize ["modifyvm", :id, "--cpus", "2"]
vb.customize ["modifyvm", :id, "--memory", "1024"]
vb.customize ["modifyvm", :id, "--cpus", "2"]
end
config.vm.provision :puppet do |puppet|