vagrant: Add box configuration for vmware
This commit is contained in:
parent
5cc38a3085
commit
41190e740d
|
@ -36,12 +36,19 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
p.cpus = 2
|
p.cpus = 2
|
||||||
end
|
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 = "centos-71-x64-vbox"
|
||||||
override.vm.box_url = "http://boxes.icinga.org/centos-71-x64-vbox.box"
|
override.vm.box_url = "http://boxes.icinga.org/centos-71-x64-vbox.box"
|
||||||
|
|
||||||
v.customize ["modifyvm", :id, "--memory", "1024"]
|
vb.customize ["modifyvm", :id, "--memory", "1024"]
|
||||||
v.customize ["modifyvm", :id, "--cpus", "2"]
|
vb.customize ["modifyvm", :id, "--cpus", "2"]
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.provision :puppet do |puppet|
|
config.vm.provision :puppet do |puppet|
|
||||||
|
|
Loading…
Reference in New Issue