virsh undefine
Delete a virtual machine. More information: https://manned.org/virsh.
- Delete only the virtual machine configuration file:
virsh undefine --domain
- Delete the configuration file and all associated storage volumes:
virsh undefine --domain --remove-all-storage
- Delete the configuration file and the specified storage volumes using the target name or the source name (as obtained from the
virsh domblklistcommand):
virsh undefine --domain --storage
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
