Added resource mngmnt option for machine types
This commit is contained in:
@ -26,7 +26,8 @@ Vagrant.configure("2") do |config|
|
||||
web.vm.provision "file", source: "./.ssh/id_rsa.pub", destination: "~/.ssh/authorized_keys"
|
||||
|
||||
web.vm.provider "virtualbox" do |vb|
|
||||
vb.memory = "1024"
|
||||
vb.memory = {{ webserver_specs["mem"] }}
|
||||
vb.cpus = {{ webserver_specs["cpus"] }}
|
||||
vb.gui = false
|
||||
vb.name = machine_id
|
||||
end
|
||||
@ -45,7 +46,8 @@ Vagrant.configure("2") do |config|
|
||||
web.vm.provision "file", source: "./.ssh/id_rsa.pub", destination: "~/.ssh/authorized_keys"
|
||||
|
||||
web.vm.provider "virtualbox" do |vb|
|
||||
vb.memory = "1024"
|
||||
vb.memory = {{ loadbalancers_specs["mem"] }}
|
||||
vb.cpus = {{ loadbalancers_specs["cpus"] }}
|
||||
vb.gui = false
|
||||
vb.name = machine_id
|
||||
end
|
||||
@ -64,7 +66,8 @@ Vagrant.configure("2") do |config|
|
||||
web.vm.provision "file", source: "./.ssh/id_rsa.pub", destination: "~/.ssh/authorized_keys"
|
||||
|
||||
web.vm.provider "virtualbox" do |vb|
|
||||
vb.memory = "1024"
|
||||
vb.memory = {{ postgres_specs["mem"] }}
|
||||
vb.cpus = {{ postgres_specs["cpus"] }}
|
||||
vb.gui = false
|
||||
vb.name = machine_id
|
||||
end
|
||||
|
Reference in New Issue
Block a user