Created
August 17, 2016 02:30
-
-
Save fortitudepub/138e49779c99ec9f96c45e8a10a1d17b to your computer and use it in GitHub Desktop.
onliner to transform nova hypervisors to ip address.
This file contains hidden or 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
nova host-list | grep compute | awk '{print $2}' | sed 's/-/\./g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nova host-list | grep compute | awk '{print $2}' | sed 's/-/./g' | xargs -I X ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no X -p 1046 dpkg -l openvswitch-switch