Python script to manage virtual machines with python API for libvirt.

2016-07-04 4 min read Vurtualization
Most of times I use virt-manager to manage VMs but sometimes, I have to manage VMs on other hosts over ssh when connected over VPN or while I am working remotely. GUI like virt-manager thus becomes slow, and hence I like to use cli commands and nothing is better than virsh. But here is simple script that I use sometimes to manage the VMs with CLI based menu. Hope you find it useful. Continue reading

virsh – show ip address of all running VMs

2016-02-01 1 min read Fedora Learning Vurtualization
If you are using the libvirt and associated tools, then you must be aware about virt-manager. However this being a GUI tools, it is not possible to always use this. “virsh” is a good option for this. To start with, if you need to know all the VMs all the running VMs, then you can use (to only view the names): virsh list --name Extending this to make it more useful is the case if you need to know the IP address for the running VMs. Continue reading
Newer posts