[pve-devel] [PATCH v2 container 13/18] skip pending changes while taking backup
Oguz Bektas
o.bektas at proxmox.com
Mon Sep 30 14:44:45 CEST 2019
Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
---
src/PVE/VZDump/LXC.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm
index ad5ecc8..2a6449c 100644
--- a/src/PVE/VZDump/LXC.pm
+++ b/src/PVE/VZDump/LXC.pm
@@ -288,6 +288,7 @@ sub assemble {
delete $conf->{lock};
delete $conf->{snapshots};
delete $conf->{parent};
+ delete $conf->{pending};
PVE::Tools::file_set_contents("$tmpdir/etc/vzdump/pct.conf", PVE::LXC::Config::write_pct_config("/lxc/$vmid.conf", $conf));
--
2.20.1
More information about the pve-devel
mailing list