diff --git a/cluster/gce/config-default.sh b/cluster/gce/config-default.sh index 284e895f57e..bd60c59e377 100755 --- a/cluster/gce/config-default.sh +++ b/cluster/gce/config-default.sh @@ -49,9 +49,9 @@ function increment_ipv4 { ip_dec=$((ip_dec<<8)) ip_dec=$((ip_dec + $comp)) done - + ip_dec=$((ip_dec + $incr_amount)) - + ip_components=() local i for ((i=0; i < 4; i++)); do @@ -61,13 +61,13 @@ function increment_ipv4 { done echo "${ip_components[3]}.${ip_components[2]}.${ip_components[1]}.${ip_components[0]}" } - + node_count="${NUM_MINIONS}" next_node="10.244.0.0" node_subnet_size=24 node_subnet_count=$((2 ** (32-$node_subnet_size))) subnets=() - + for ((node_num=0; node_num