Merge "sfc-csit-clustering fixes"
[releng/builder.git] / jjb / integration / include-raw-integration-deploy-controller.sh
index 6fcab672f5c820736f3f5f626f53f164db9b415e..cad6993c2ed1cb357e0b5414cf002c2ab17149dd 100644 (file)
@@ -17,7 +17,7 @@ echo "Changing to /tmp"
 cd /tmp
 
 echo "Downloading the distribution from ${ACTUALBUNDLEURL}"
-wget --no-verbose  ${ACTUALBUNDLEURL}
+wget --no-verbose  '${ACTUALBUNDLEURL}'
 
 echo "Extracting the new controller..."
 unzip -q ${BUNDLE}
@@ -43,7 +43,7 @@ EOF
 CONTROLLERIPS=(${CONTROLLER0} ${CONTROLLER1} ${CONTROLLER2})
 for i in "${!CONTROLLERIPS[@]}"
 do
-    echo "Installing distribution in member-$i with IP address ${CONTROLLERIPS[$i]}"
+    echo "Installing distribution in member-$((i+1)) with IP address ${CONTROLLERIPS[$i]}"
     scp ${WORKSPACE}/deploy-controller-script.sh ${CONTROLLERIPS[$i]}:/tmp
     ssh ${CONTROLLERIPS[$i]} 'bash /tmp/deploy-controller-script.sh'
 done