Merge pull request #103 from galstrom21/master

bug fix
This commit is contained in:
Jesse Andrews 2011-10-26 08:48:02 -07:00
commit 86c996b300

View File

@ -93,7 +93,7 @@ IP=`nova show $NAME | grep "private network" | cut -d"|" -f3`
# for single node deployments, we can ping private ips # for single node deployments, we can ping private ips
MULTI_HOST=${MULTI_HOST:-0} MULTI_HOST=${MULTI_HOST:-0}
if [ "$MULTI_HOST" = "0"]; then if [ "$MULTI_HOST" = "0" ]; then
# ping it once (timeout of a second) # ping it once (timeout of a second)
ping -c1 -w1 $IP || true ping -c1 -w1 $IP || true