From f1e5bc81f85de36c3385bbe3aaa8b073da4c8818 Mon Sep 17 00:00:00 2001 From: Aleksandr Didenko Date: Thu, 30 Jun 2016 15:32:46 +0200 Subject: [PATCH] Fix path to nodes list --- deploy-k8s.kargo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy-k8s.kargo.sh b/deploy-k8s.kargo.sh index 514157c5b..b7d21b16b 100755 --- a/deploy-k8s.kargo.sh +++ b/deploy-k8s.kargo.sh @@ -4,7 +4,7 @@ INVENTORY="kargo/inventory/inventory.cfg" nodes="" i=1 -for nodeip in `cat /root/nodes` ; do +for nodeip in `cat nodes` ; do i=$(( $i+1 )) nodes+=" node${i}[ansible_ssh_host=${nodeip},ip=${nodeip}]" done