Created
March 5, 2013 20:00
-
-
Save e0ne/5093727 to your computer and use it in GitHub Desktop.
Shows hostnames for patter matched VM's in OpenStack
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 show " $2)}' | grep ':host' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment