如何从“ virsh list -all”删除虚拟机?


Answers:


18

如果已经删除了磁盘映像文件,则可以使用完全摆脱VM virsh undefine <domain-id>。您还可以指定--managed-save删除所有托管的保存映像并--snapshots-metadata删除指定VM的快照。

如果虚拟机处于非活动状态,则应使用其名称或UUID代替域ID。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.