[pve-devel] [PATCH container 3/3] delete correct parent key

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed May 25 10:05:18 CEST 2016


---
 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 ea91043..7b22f0a 100644
--- a/src/PVE/VZDump/LXC.pm
+++ b/src/PVE/VZDump/LXC.pm
@@ -278,7 +278,7 @@ sub assemble {
     my $conf = PVE::LXC::Config->load_config($vmid);
     delete $conf->{lock};
     delete $conf->{snapshots};
-    delete $conf->{'pve.parent'};
+    delete $conf->{parent};
 
     PVE::Tools::file_set_contents("$tmpdir/etc/vzdump/pct.conf", PVE::LXC::Config::write_pct_config("/lxc/$vmid.conf", $conf));
 
-- 
2.1.4





More information about the pve-devel mailing list