Last active
July 18, 2016 15:38
-
-
Save tsaavik/c176aa97eeee7bac2502ba2b9e01f2a4 to your computer and use it in GitHub Desktop.
Auto start xen instance confs based on images present
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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