Skip to content

Instantly share code, notes, and snippets.

@tsaavik
Last active July 18, 2016 15:38
Show Gist options
  • Save tsaavik/c176aa97eeee7bac2502ba2b9e01f2a4 to your computer and use it in GitHub Desktop.
Save tsaavik/c176aa97eeee7bac2502ba2b9e01f2a4 to your computer and use it in GitHub Desktop.
Auto start xen instance confs based on images present
#!/bin/bash
# Auto start xen instance confs based on images present
cd /home/dave/xen/images/
for xenimage in *.img ;do
xm create ${xenimage%%\.*}
sleep 30
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment