CmdID

CmdID / Commands

virsh-undefine

Delete a virtual machine. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Delete only the virtual machine configuration file

virsh undefine --domain vm_nameIdentify

Delete the configuration file and all associated storage volumes

virsh undefine --domain vm_name --remove-all-storageIdentify

Delete the configuration file and the specified storage volumes using the target name or the source name (as obtained from the virsh domblklist command)

virsh undefine --domain vm_name --storage sda,sdb,path/to/source,...Identify