automatically reverting to a snapshot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How can I automatically revert to a snapshot after the guest is stopped?

/etc/libvirt/hooks/qemu
#!/bin/sh
name="$1"
action=""money">$2"
if [ "$name" = "name" ]; then
 virsh snapshot-revert "$name" --snapshotname "snapshot1"
fi

I tried this which resulted in a deadlock, then I saw the warning further down the page.
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux