diff --git a/net/gce.sh b/net/gce.sh index dd556471c7..0b5b537f64 100755 --- a/net/gce.sh +++ b/net/gce.sh @@ -517,9 +517,11 @@ EOF fi cloud_CreateInstances "$prefix" "$prefix-$zone-fullnode" "$numNodesPerZone" \ "$enableGpu" "$fullNodeMachineType" "$zone" "$fullNodeBootDiskSizeInGb" \ - "$startupScript" "" "$bootDiskType" + "$startupScript" "" "$bootDiskType" & done + wait + if [[ $clientNodeCount -gt 0 ]]; then cloud_CreateInstances "$prefix" "$prefix-client" "$clientNodeCount" \ "$enableGpu" "$clientMachineType" "${zones[0]}" "$clientBootDiskSizeInGb" \