Tag: 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//>/ /’` […]