Skip to content

Instantly share code, notes, and snippets.

@e0ne
Created March 5, 2013 19:58
Show Gist options
  • Save e0ne/5093712 to your computer and use it in GitHub Desktop.
Save e0ne/5093712 to your computer and use it in GitHub Desktop.
Deletes all running VM's in OpenStack by pattern
#!/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