From 9d8e8cf1eeedffdb0678e7760f5cbbda8bcab982 Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Tue, 25 Oct 2011 00:34:35 -0700 Subject: [PATCH] association seems to take a bit longer on multi host configs --- exercise.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercise.sh b/exercise.sh index 7a1ed9b..b73d6aa 100755 --- a/exercise.sh +++ b/exercise.sh @@ -123,7 +123,7 @@ FLOATING_IP=`nova floating-ip-list | grep None | head -1 | cut -d '|' -f2 | sed nova add-floating-ip $NAME $FLOATING_IP # sleep for a smidge -sleep 1 +sleep 5 # ping our floating ip ping -c1 -w1 $FLOATING_IP @@ -132,7 +132,7 @@ ping -c1 -w1 $FLOATING_IP nova secgroup-delete-rule $SECGROUP icmp -1 -1 0.0.0.0/0 # sleep for a smidge -sleep 1 +sleep 5 # ping our floating ip if ( ping -c1 -w1 $FLOATING_IP ); then