This commit is contained in:
Ondřej Nový 2016-04-08 17:19:17 +02:00
parent 7810779fdf
commit d20b9abf1c
1 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ otci_wait_until_active () {
CYCLES=0
OTCI_STATUS=BUILD
echo "===> Wait until status is active"
echo "Wating: "
echo "Waiting: "
while [ "${OTCI_STATUS}" != "ACTIVE" ] && [ ${COUNT} != 0 ] ; do
echo ${CYCLES}
OTCI_STATUS=`nova list | grep ${OTCI_VM_HOSTNAME} | awk '{print $6}'`
@ -115,7 +115,7 @@ otci_wait_for_ssh () {
CYCLES=0
OTCI_CAN_SSH=no
echo "===> Wait until we can ssh"
echo "Wating: "
echo "Waiting: "
while [ "${OTCI_CAN_SSH}" != "yes" ] && [ ${COUNT} != 0 ] ; do
echo ${CYCLES}
if ssh -o "StrictHostKeyChecking no" root@${OTCI_FLOATING_IP_ADDR} 'echo -n ""' ; then