guest
-
Check IP address of a virtual guest
There’s a time you want to check virtual guest’s IP, but no way to access the machine as you only have text terminal. You can retrieve IP address by using the following script. #!/bin/bash macaddress=`virsh dumpxml $1 | grep “mac address” | awk ‘BEGIN { FS = “=” }; {print $2}’ | sed ‘s//>/ /’`… Continue reading
About Me
A software engineer who loves any technologies that makes life easier. That’s why I love Linux and Mac at the same time.