Skip to content

Instantly share code, notes, and snippets.

@mb00g
Created August 14, 2015 06:39
Show Gist options
  • Select an option

  • Save mb00g/2f0f68dc0945d3f9d4f9 to your computer and use it in GitHub Desktop.

Select an option

Save mb00g/2f0f68dc0945d3f9d4f9 to your computer and use it in GitHub Desktop.
#!/bin/bash
read -p "Name Prefix: " NAME
read -p "Quantity: " QUANTITY
COUNT=1
while [ $COUNT -le $QUANTITY ] ; do
xe vm-start vm="$NAME$COUNT";
let COUNT=COUNT+1
done
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment