Displaying 1 result from an estimated 1 matches for "pradel".
Did you mean:
prael
2014 Dec 18
1
Virtual machine removal through command line.
Hi,
Until today, I hadn't found a way to cleanly remove a KVM virtual machine
through command line on CentOS 6 or 7! I had to run 'systemctl restart
libvirtd' or 'service libvirtd restart'
After several months (!!!), I found this thread:
https://github.com/pradels/vagrant-libvirt/issues/107
Now, I know how to cleanly remove a KVM virtual machine (with default file
location):
virsh destroy vm.example.com
virsh undefine vm.example.com --managed-save
/bin/rm /var/lib/libvirt/images/vm.example.com.img
/bin/rm /var/log/libvirt/qemu/vm.example.com.log
virsh vol-...