Rename support to control in Vagrantfile

To match the latest changes to ansible/inventory/multinode

Change-Id: Iaf018b4ca65eee8150f3595719edfdae7b8346ba
Closes-bug: #1489933
This commit is contained in:
Paul Bourke 2015-08-28 17:29:34 +01:00
parent 3b5380ade0
commit abd4dbd756

20
vagrant/Vagrantfile vendored
View File

@ -66,20 +66,20 @@ Vagrant.configure(2) do |config|
end
end
# Build support nodes
# Build control nodes
(1..3).each do |i|
config.vm.define "support0#{i}" do |support|
support.vm.hostname = "support0#{i}.local"
support.vm.provision :shell, path: "bootstrap.sh"
support.vm.synced_folder "storage/support/", "/data/host", create:"True"
support.vm.synced_folder "storage/shared/", "/data/shared", create:"True"
support.vm.synced_folder ".", "/vagrant", disabled: true
support.vm.provider "virtualbox" do |vb|
config.vm.define "control0#{i}" do |control|
control.vm.hostname = "control0#{i}.local"
control.vm.provision :shell, path: "bootstrap.sh"
control.vm.synced_folder "storage/control/", "/data/host", create:"True"
control.vm.synced_folder "storage/shared/", "/data/shared", create:"True"
control.vm.synced_folder ".", "/vagrant", disabled: true
control.vm.provider "virtualbox" do |vb|
vb.memory = 2048
end
support.hostmanager.aliases = "support0#{i}"
control.hostmanager.aliases = "control0#{i}"
# TODO: Here we bind local port 8080 to Horizon on support01 only.
# TODO: Here we bind local port 8080 to Horizon on control01 only.
# TODO: Once we implement Horizon behind a VIP, this obviously needs to
# be changed.
#if i < 2 then