From daf02e029c3c1412903b878f2bb51865c2d768a7 Mon Sep 17 00:00:00 2001 From: Aleksandr Didenko Date: Thu, 16 Jun 2016 13:00:51 +0200 Subject: [PATCH] Fix nodes list --- Vagrantfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 6527165dd..39a316514 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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