Comment 6 for bug 1160442

Revision history for this message
Aaron Rosen (arosen) wrote :

Edger how about :

#!/bin/bash
COUNTER=0
for i in {1..200}
do
   (
   echo "Deploy VM vm-$i"
   nova boot --flavor 42 --image tty-quantum --nic net-id=fced80ba-100f-43f0-ab2e-a2bf657d15ab vm-$i
   let COUNTER=$COUNTER+1
   if [ $COUNTER -eq 300 ]
      then
      sleep 5
      COUNTER=0
   fi
) &
done

:)