How to delete KVM domains/VMs?


How to delete KVM domains/VMs?

root@techsutram-vm2:~# /usr/bin/virsh list --all
 Id    Name                           State
----------------------------------------------------
 -     instance-00000003              shut off
 -     instance-00000005              shut off

root@ techsutram-vm2:~# /usr/bin/virsh undefine instance-00000003
Domain instance-00000003 has been undefined

root@ techsutram-vm2:~# /usr/bin/virsh list --all
 Id    Name                           State
----------------------------------------------------
 -     instance-00000005              shut off

root@ techsutram-vm2:~# /usr/bin/virsh undefine instance-00000005
Domain instance-00000005 has been undefined

root@ techsutram-vm2:~# /usr/bin/virsh list --all
 Id    Name                           State
----------------------------------------------------

root@ techsutram-vm2:~#

Note: We at TechSutram take our ethics very seriously. More information about it can be found here.
Mandar Pise Opinions expressed by techsutram contributors are their own. More details

Mandar is a seasoned software professional for more than a decade. He is Cloud, AI, IoT, Blockchain and Fintech enthusiast. He writes to benefit others from his experiences. His overall goal is to help people learn about the Cloud, AI, IoT, Blockchain and Fintech and the effects they will have economically and socially in the future.

No comments:

Post a Comment

    Your valuable comments are welcome. (Moderated)