Hello,
I want to auto rollback when vm is stop. the same as PXE.
use hookscript:
my $cmd ="qm rollback $vmid snapshot";
......
.......
elsif($phase eq 'post-stop') {
print "$vmid stopped. Doing cleanup.\n";
system($cmd);
Both tasks will lock the vm at the same time,and post error
GUEST...