diff --git a/ci/testnet-deploy.sh b/ci/testnet-deploy.sh index 7f36b7221..da6878538 100755 --- a/ci/testnet-deploy.sh +++ b/ci/testnet-deploy.sh @@ -158,7 +158,7 @@ set -x # Build a string to pass zone opts to $cloudProvider.sh: "-z zone1 -z zone2 ..." for val in "${zone[@]}"; do - zone_args="-z $val $zone_args" + zone_args="-z $zone_args $val" done if ! $skipSetup; then diff --git a/ci/testnet-manager.sh b/ci/testnet-manager.sh index 6ff5ff16b..f05c8523c 100755 --- a/ci/testnet-manager.sh +++ b/ci/testnet-manager.sh @@ -230,11 +230,11 @@ start() { # Build a string to pass as opts to testnet-deploy.sh: "-z zone1 -z zone2 ..." for val in "${GCE_ZONES[@]}"; do - GCE_ZONE_ARGS="-z $val $GCE_ZONE_ARGS" + GCE_ZONE_ARGS="-z $GCE_ZONE_ARGS $val" done for val in "${EC2_ZONES[@]}"; do - EC2_ZONE_ARGS="-z $val $EC2_ZONE_ARGS" + EC2_ZONE_ARGS="-z $EC2_ZONE_ARGS $val" done NO_VALIDATOR_SANITY=1 \