Change vagrant box provisioning to use 2 cpus
This commit is contained in:
parent
0f0845b7d1
commit
185b47dfc7
1 changed files with 4 additions and 4 deletions
|
@ -26,15 +26,13 @@ Vagrant.configure("2") do |config|
|
||||||
vb_config.vm.hostname = 'vbox'
|
vb_config.vm.hostname = 'vbox'
|
||||||
|
|
||||||
vb_config.vm.provider :virtualbox do |vb|
|
vb_config.vm.provider :virtualbox do |vb|
|
||||||
# Configure VM to use 1.5gb of ram and 3 cpus
|
# Configure VM to use 1.5gb of ram and 2 cpus
|
||||||
vb.customize [
|
vb.customize [
|
||||||
"modifyvm", :id,
|
"modifyvm", :id,
|
||||||
"--memory", '1536',
|
"--memory", '1536',
|
||||||
"--cpus", '4'
|
"--cpus", '2'
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
vb_config.vm.provision :shell, :path => 'shell-provisioning/upgrade-kernel'
|
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.define :lxc do |lxc_config|
|
config.vm.define :lxc do |lxc_config|
|
||||||
|
@ -47,6 +45,8 @@ Vagrant.configure("2") do |config|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
config.vm.provision :shell, :path => 'shell-provisioning/upgrade-kernel'
|
||||||
|
|
||||||
config.vm.provision :puppet do |puppet|
|
config.vm.provision :puppet do |puppet|
|
||||||
puppet.manifests_path = "."
|
puppet.manifests_path = "."
|
||||||
puppet.manifest_file = "site.pp"
|
puppet.manifest_file = "site.pp"
|
||||||
|
|
Loading…
Reference in a new issue