Forrest logo
back to context overview

virsh-undefine

List of commands for virsh-undefine:

  • virsh-undefine:tldr:36de2 virsh-undefine: Delete only the virtual machine configuration file.
    $ virsh undefine --domain ${vm_name}
    try on your machine
    explain this command
  • virsh-undefine:tldr:760c0 virsh-undefine: Delete the configuration file and all associated storage volumes.
    $ virsh undefine --domain ${vm_name} --remove-all-storage
    try on your machine
    explain this command
  • virsh-undefine:tldr:efa61 virsh-undefine: 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,path-to-source}
    try on your machine
    explain this command
back to context overview