virsh-undefine Command Examples

Delete a virtual machine. More information: https://manned.org/virsh.

virsh undefine --domain {{vm_name}}

virsh undefine --domain {{vm_name}} --remove-all-storage

virsh undefine --domain {{vm_name}} --storage {{sda,path/to/source}}