virsh destroy && virsh undefine = Delete a guest VM on Linux KVM after creating it with virt-install

If you created a KVM guest from the command line with first install. Say, after sometimes you do not need a guest VM. However, how do you I delete this KVM guest from the command line? The answer is simple:

virsh destroy VM_NAME && virsh undefine VM_NAME

Of course as usual stuff in IT may get complicated. See “how to delete a guest on Linux KVM for more info“.

In Category: Link

Vivek Gite

Vivek Gite, nixCraft creator, and professional Unix sysadmin/DevOps is obsessed with optimizing the servers and making sure data center stays online 24x7.

Show 0 Comments
No comments yet. Be the first.

Leave a Comment