]> git.proxmox.com Git - pve-container.git/blobdiff - src/PVE/VZDump/LXC.pm
Move JSONFormat code to PVE::LXC::Config
[pve-container.git] / src / PVE / VZDump / LXC.pm
index 396a94d5dfe4c4e41eab23368290ba7831738f33..33a0b55d54d925f865c4bc3908deb6d39820847d 100644 (file)
@@ -293,7 +293,7 @@ sub assemble {
     delete $conf->{snapshots};
     delete $conf->{'pve.parent'};
 
-    PVE::Tools::file_set_contents("$tmpdir/etc/vzdump/pct.conf", PVE::LXC::write_pct_config("/lxc/$vmid.conf", $conf));
+    PVE::Tools::file_set_contents("$tmpdir/etc/vzdump/pct.conf", PVE::LXC::Config::write_pct_config("/lxc/$vmid.conf", $conf));
 
     my $firewall ="/etc/pve/firewall/$vmid.fw";
     if (-e  $firewall) {