]> git.proxmox.com Git - pve-container.git/commit
fix #2270: allow custom lxc options to be restored as root
authorStefan Reiter <s.reiter@proxmox.com>
Tue, 9 Jul 2019 15:20:57 +0000 (17:20 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 9 Jul 2019 18:06:18 +0000 (20:06 +0200)
commit82bfeccbe6cbc12f39a04a4a8d1ac5ef12ae73ad
tree65336a4a8f34a27a36b27f09c33809589b28209a
parente80cb0cd1e99faf0458427280ba3ebd5784ead88
fix #2270: allow custom lxc options to be restored as root

Seems to be a regression introduced with
f360d7f16b094fa258cf82d2557d06f3284435e4 (related to #2028).
$conf->{'lxc'} would always be defined, hence we never replaced it with
the restored options.

Co-developed-by: Oguz Bektas <o.bektas@proxmox.com>
Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
src/PVE/LXC/Create.pm