Commit f24c8020 authored by David Johnson's avatar David Johnson

Fix off-by-one in new-style Hadoop slave node naming (e649bd3a).

parent 198e269f
Pipeline #1893 passed with stage
in 2 seconds
......@@ -121,8 +121,8 @@ if [ $FASTBOOT -eq 1 ]; then
exit 1
while [ $i -lt $NSLAVES ]; do
while [ $i -le $NSLAVES ]; do
nova boot --image hadoop --flavor m1.medium --nic net-id=$NETWORKID slave-$i
if [ ! $? -eq 0 ]; then
print "ERROR: failed to create slave-$i VM; aborting!"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment