From: Holger Levsen Date: Thu, 8 Nov 2012 13:32:34 +0000 (+0100) Subject: be more verbose X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=af90b84cfcd584aa95e91fe3eecf3e9bc3df9be7;p=profitbricks%2Fjenkins-build-scripts.git be more verbose --- diff --git a/liveboot_testdeploy.sh b/liveboot_testdeploy.sh index fd6f24e..bb4b5e6 100755 --- a/liveboot_testdeploy.sh +++ b/liveboot_testdeploy.sh @@ -6,6 +6,7 @@ set -e #set -x export +echo TESTSERVER=pserver2 TESTSERVER_MGMT_IP=192.168.178.49 @@ -59,19 +60,16 @@ fi # # check for 10min whether it's up again # -echo -n "Pinging $TESTSERVER..." +echo "Pinging $TESTSERVER..." for i in $(seq 1 60) ; do sleep 10 - echo -n "." + echo "." if $(ping -c 1 $TESTSERVER >/dev/null) ; then - echo - echo echo "$TESTSERVER pings again, so we assume it's up." break fi done if ! $(ping -c 1 $TESTSERVER >/dev/null) ; then - echo figlet "Failure:" echo "$TESTSERVER still down, please investigate." exit 1