Browse Source

Remove vm even if it has snapshots (#49)

pull/52/head
Sergio Oliveira 6 years ago committed by GitHub
parent
commit
91900d1974
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      kvm-install-vm

2
kvm-install-vm

@ -257,7 +257,7 @@ function delete_vm ()
|| yellow "(Domain is not running.)"
outputn "Undefining ${VMNAME} domain"
virsh undefine --managed-save ${VMNAME} > /dev/null 2>&1 \
virsh undefine --managed-save --snapshots-metadata ${VMNAME} > /dev/null 2>&1 \
&& ok \
|| die "Could not undefine domain."
else

Loading…
Cancel
Save