All Posts

Libvirt snapshot delete cascade

When you want to delete/undefine a VM with libvirt, you must clean all the snapshots. You can make a bash loop or just the “--children” parameter: