File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -121,8 +121,8 @@ IP=`nova show $VM_UUID | grep "private network" | get_field 2`
121121die_if_not_set IP " Failure retrieving IP address"
122122
123123# for single node deployments, we can ping private ips
124- MULTI_HOST=${ MULTI_HOST:- 0}
125- if [ " $MULTI_HOST " = " 0 " ]; then
124+ MULTI_HOST=` trueorfalse False $ MULTI_HOST`
125+ if [ " $MULTI_HOST " = " False " ]; then
126126 # sometimes the first ping fails (10 seconds isn't enough time for the VM's
127127 # network to respond?), so let's ping for a default of 15 seconds with a
128128 # timeout of a second for each ping.
Original file line number Diff line number Diff line change @@ -255,8 +255,8 @@ function ping_vms {
255255 export OS_PASSWORD=nova
256256 PUBLIC_IP2=` nova show $VM_UUID2 | grep public-net1 | awk ' {print $5}' `
257257
258- MULTI_HOST=${ MULTI_HOST:- 0}
259- if [ " $MULTI_HOST " = " 0 " ]; then
258+ MULTI_HOST=` trueorfalse False $ MULTI_HOST`
259+ if [ " $MULTI_HOST " = " False " ]; then
260260 # sometimes the first ping fails (10 seconds isn't enough time for the VM's
261261 # network to respond?), so let's ping for a default of 15 seconds with a
262262 # timeout of a second for each ping.
Original file line number Diff line number Diff line change @@ -97,8 +97,8 @@ IP=`nova show $VM_UUID | grep "private network" | get_field 2`
9797die_if_not_set IP " Failure retrieving IP address"
9898
9999# for single node deployments, we can ping private ips
100- MULTI_HOST=${ MULTI_HOST:- 0}
101- if [ " $MULTI_HOST " = " 0 " ]; then
100+ MULTI_HOST=` trueorfalse False $ MULTI_HOST`
101+ if [ " $MULTI_HOST " = " False " ]; then
102102 # sometimes the first ping fails (10 seconds isn't enough time for the VM's
103103 # network to respond?), so let's ping for a default of 15 seconds with a
104104 # timeout of a second for each ping.
Original file line number Diff line number Diff line change @@ -340,7 +340,7 @@ TEST_FLOATING_RANGE=${TEST_FLOATING_RANGE:-192.168.253.0/29}
340340# **MULTI_HOST** is a mode where each compute node runs its own network node. This
341341# allows network operations and routing for a VM to occur on the server that is
342342# running the VM - removing a SPOF and bandwidth bottleneck.
343- MULTI_HOST=${ MULTI_HOST:- False}
343+ MULTI_HOST=` trueorfalse False $ MULTI_HOST`
344344
345345# If you are using FlatDHCP on multiple hosts, set the ``FLAT_INTERFACE``
346346# variable but make sure that the interface doesn't already have an
You can’t perform that action at this time.
0 commit comments