bug 985905: multi_host flag cunfusing settings

switch to using trueorfalse for parsing MULTI_HOST values.

Change-Id: I289563e0cd05cda014198cf21b3c88897aba5d4f
diff --git a/exercises/floating_ips.sh b/exercises/floating_ips.sh
index dd40aa0..82f29eb 100755
--- a/exercises/floating_ips.sh
+++ b/exercises/floating_ips.sh
@@ -121,8 +121,8 @@
 die_if_not_set IP "Failure retrieving IP address"
 
 # for single node deployments, we can ping private ips
-MULTI_HOST=${MULTI_HOST:-0}
-if [ "$MULTI_HOST" = "0" ]; then
+MULTI_HOST=`trueorfalse False $MULTI_HOST`
+if [ "$MULTI_HOST" = "False" ]; then
     # sometimes the first ping fails (10 seconds isn't enough time for the VM's
     # network to respond?), so let's ping for a default of 15 seconds with a
     # timeout of a second for each ping.
diff --git a/exercises/quantum.sh b/exercises/quantum.sh
index 943a07d..8178112 100755
--- a/exercises/quantum.sh
+++ b/exercises/quantum.sh
@@ -255,8 +255,8 @@
     export OS_PASSWORD=nova
     PUBLIC_IP2=`nova show $VM_UUID2 | grep public-net1 | awk '{print $5}'`
 
-    MULTI_HOST=${MULTI_HOST:-0}
-    if [ "$MULTI_HOST" = "0" ]; then
+    MULTI_HOST=`trueorfalse False $MULTI_HOST`
+    if [ "$MULTI_HOST" = "False" ]; then
         # sometimes the first ping fails (10 seconds isn't enough time for the VM's
         # network to respond?), so let's ping for a default of 15 seconds with a
         # timeout of a second for each ping.
diff --git a/exercises/volumes.sh b/exercises/volumes.sh
index b62427f..6749558 100755
--- a/exercises/volumes.sh
+++ b/exercises/volumes.sh
@@ -97,8 +97,8 @@
 die_if_not_set IP "Failure retrieving IP address"
 
 # for single node deployments, we can ping private ips
-MULTI_HOST=${MULTI_HOST:-0}
-if [ "$MULTI_HOST" = "0" ]; then
+MULTI_HOST=`trueorfalse False $MULTI_HOST`
+if [ "$MULTI_HOST" = "False" ]; then
     # sometimes the first ping fails (10 seconds isn't enough time for the VM's
     # network to respond?), so let's ping for a default of 15 seconds with a
     # timeout of a second for each ping.