]> git.proxmox.com Git - pve-container.git/blobdiff - src/PVE/LXC/Create.pm
supress warning when we try to delete a non-existent option
[pve-container.git] / src / PVE / LXC / Create.pm
index 1f1ece1c98b6ac83920603c72c325652f7df6f6a..11bc00d9e9d6864dda190b0f5f9e5bc1066ae1f8 100644 (file)
@@ -114,7 +114,7 @@ sub restore_configuration {
        my $oldconf = PVE::LXC::Config::parse_pct_config("/lxc/$vmid.conf", $raw);
 
        foreach my $key (keys %$oldconf) {
-           next if $key eq 'digest' || $key eq 'rootfs' || $key eq 'snapshots' || $key eq 'unprivileged' || $key eq 'parent';
+           next if $key eq 'digest' || $key eq 'rootfs' || $key eq 'snapshots' || $key eq 'parent';
            next if $key =~ /^mp\d+$/; # don't recover mountpoints
            next if $key =~ /^unused\d+$/; # don't recover unused disks
            if ($restricted && $key eq 'lxc') {