Minor formatting fix for launch_instance.sh

Start ping and summary output on a new line.

Change-Id: Ibb7b7ea9d0abcf2539390afe930770bdbf1f385e
This commit is contained in:
Roger Luethi
2015-11-16 19:45:11 +01:00
parent a263b9eb46
commit 02b9d6829e

View File

@@ -712,6 +712,7 @@ function patient_ping {
# Ping the instance VM every ten seconds
if [[ $((cnt % 10)) -eq 0 ]]; then
if ping -c1 "$ip" > /dev/null ; then
echo
ping -c1 "$ip"
echo "SUM ping instance VM after $cnt seconds."
break
@@ -720,6 +721,7 @@ function patient_ping {
# Abort if it takes too long
if [[ $cnt -gt 600 ]]; then
echo
echo "SUM ERROR no ping for instance VM in $cnt seconds. Aborting."
exit 1
fi