bug fix.. resulted in following error message:
./exercise.sh: line 96: [: missing `]'
This commit is contained in:
parent
c99d4ad156
commit
56a505fc2d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue