Created
October 31, 2016 17:06
-
-
Save petrblaho/f836085d17d230fdd61c707998c38695 to your computer and use it in GitHub Desktop.
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
virsh list | grep running | awk '{print $2}' | xargs -n1 -I{} sh -c "echo {}; virsh domifaddr {} --full | grep ip; echo '---'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment