Created
March 5, 2013 19:58
-
-
Save e0ne/5093712 to your computer and use it in GitHub Desktop.
Deletes all running VM's in OpenStack by pattern
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
#!/usr/bin/env bash | |
nova list | grep $1 | awk '{system("nova delete " $2)}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment