Fix nodes list
This commit is contained in:
parent
3824493b1d
commit
daf02e029c
1 changed files with 2 additions and 1 deletions
3
Vagrantfile
vendored
3
Vagrantfile
vendored
|
@ -26,7 +26,7 @@ system 'bash ssh-keygen.sh'
|
|||
|
||||
# Create nodes list for future kargo deployment
|
||||
nodes=""
|
||||
(1..$num_instances).each do |i|
|
||||
(2..$num_instances).each do |i|
|
||||
ip = "#{$private_subnet}.#{i+10}"
|
||||
nodes = "#{nodes}#{ip}\n"
|
||||
end
|
||||
|
@ -79,6 +79,7 @@ Vagrant.configure("2") do |config|
|
|||
config.vm.provision "file", source: "custom.yaml", destination: "~/custom.yaml"
|
||||
config.vm.provision "file", source: "nodes", destination: "~/nodes"
|
||||
end
|
||||
|
||||
config.vm.provision "file", source: "ssh", destination: "~/ssh"
|
||||
config.vm.provision :shell, :path => bootstrap_script
|
||||
|
||||
|
|
Loading…
Reference in a new issue