[pve-devel] [PATCH] fixed wrong parameter when force removing a vzdump snapshot
Dirk Nilius
dirk.nilius at ckc.de
Thu Nov 19 13:35:31 CET 2015
Signed-off-by: Dirk Nilius <dirk.nilius at ckc.de>
---
src/PVE/VZDump/LXC.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm
index 72ad9c0..453d705 100644
--- a/src/PVE/VZDump/LXC.pm
+++ b/src/PVE/VZDump/LXC.pm
@@ -131,7 +131,7 @@ sub prepare {
if ($conf->{snapshots} && $conf->{snapshots}->{vzdump}) {
$self->loginfo("found old vzdump snapshot (force removal)");
- PVE::LXC::snapshot_delete($vmid, 'vzdump', 0);
+ PVE::LXC::snapshot_delete($vmid, 'vzdump', 1);
}
my $rootdir = $default_mount_point;
--
2.6.3
More information about the pve-devel
mailing list