virsh
-
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
-
Configuring a Bridge Interface for the KVM-based virtual machines
If you are going to run virtualized host as a web server or some services for the clients, the systems should be accessible from the outside. Unfortunately, the default network configuration in KVM is NAT (Network Address Translation). It is good for some VMs who will co-work with other VMs, but for the server, it… 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.