- 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'
+ CONTROLLERIP=ODL_SYSTEM_${i}_IP
+ echo "Installing distribution in member-${i} with IP address ${!CONTROLLERIP}"
+ scp ${WORKSPACE}/deploy-controller-script.sh ${!CONTROLLERIP}:/tmp
+ ssh ${!CONTROLLERIP} 'bash /tmp/deploy-controller-script.sh'