]> git.proxmox.com Git - pve-container.git/commit
backup: keep CT template status for non-root restores
authorOguz Bektas <o.bektas@proxmox.com>
Thu, 25 Feb 2021 14:11:17 +0000 (15:11 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 Feb 2021 14:24:06 +0000 (15:24 +0100)
commit32e56bed0c604c6ea1f154b2405664d6972760e2
treede652b16d2d6a84501887fa3d56f6978cd5bd60b
parent02abaa30078f211ef94b50474f93212ac9766fae
backup: keep CT template status for non-root restores

but still keep the lxc.* parameters limited to root, as originally
intended.

note: $orig_mp_param isn't protected by $is_root, but when it's used we
make another recover_config() call on the archive file

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/API2/LXC.pm