[ci] Added limitations in vbox resources for web machine
This commit is contained in:
4
Vagrantfile
vendored
4
Vagrantfile
vendored
@@ -8,6 +8,10 @@ Vagrant.configure("2") do |config|
|
|||||||
web.vm.box = "ubuntu12.04-server-amd64"
|
web.vm.box = "ubuntu12.04-server-amd64"
|
||||||
web.vm.box_url = "http://goo.gl/8kWkm"
|
web.vm.box_url = "http://goo.gl/8kWkm"
|
||||||
web.vm.network "forwarded_port", guest: 8000, host: 8000, host_ip: '0.0.0.0'
|
web.vm.network "forwarded_port", guest: 8000, host: 8000, host_ip: '0.0.0.0'
|
||||||
|
web.vm.provider "virtualbox" do |vb|
|
||||||
|
vb.customize ["modifyvm", :id, "--memory", "1024"]
|
||||||
|
vb.customize ["modifyvm", :id, "--cpus", "1"]
|
||||||
|
end
|
||||||
web.vm.provision :chef_solo do |chef|
|
web.vm.provision :chef_solo do |chef|
|
||||||
chef.cookbooks_path = ["vagrant/cookbooks"]
|
chef.cookbooks_path = ["vagrant/cookbooks"]
|
||||||
chef.add_recipe "openstack-validator"
|
chef.add_recipe "openstack-validator"
|
||||||
|
|||||||
Reference in New Issue
Block a user