Skip to content
Snippets Groups Projects
Commit abd4dbd7 authored by Paul Bourke's avatar Paul Bourke
Browse files

Rename support to control in Vagrantfile

To match the latest changes to ansible/inventory/multinode

Change-Id: Iaf018b4ca65eee8150f3595719edfdae7b8346ba
Closes-bug: #1489933
parent 3b5380ad
No related branches found
No related tags found
No related merge requests found
...@@ -66,20 +66,20 @@ Vagrant.configure(2) do |config| ...@@ -66,20 +66,20 @@ Vagrant.configure(2) do |config|
end end
end end
# Build support nodes # Build control nodes
(1..3).each do |i| (1..3).each do |i|
config.vm.define "support0#{i}" do |support| config.vm.define "control0#{i}" do |control|
support.vm.hostname = "support0#{i}.local" control.vm.hostname = "control0#{i}.local"
support.vm.provision :shell, path: "bootstrap.sh" control.vm.provision :shell, path: "bootstrap.sh"
support.vm.synced_folder "storage/support/", "/data/host", create:"True" control.vm.synced_folder "storage/control/", "/data/host", create:"True"
support.vm.synced_folder "storage/shared/", "/data/shared", create:"True" control.vm.synced_folder "storage/shared/", "/data/shared", create:"True"
support.vm.synced_folder ".", "/vagrant", disabled: true control.vm.synced_folder ".", "/vagrant", disabled: true
support.vm.provider "virtualbox" do |vb| control.vm.provider "virtualbox" do |vb|
vb.memory = 2048 vb.memory = 2048
end 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 # TODO: Once we implement Horizon behind a VIP, this obviously needs to
# be changed. # be changed.
#if i < 2 then #if i < 2 then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment