bug fix.. resulted in following error message:

./exercise.sh: line 96: [: missing `]'
main
Justin Shepherd 13 years ago
parent c99d4ad156
commit 56a505fc2d

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

Loading…
Cancel
Save