[pve-devel] [PATCH v2 cluster] fix #2270: allow custom lxc options to be restored as root
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Jul 10 10:14:30 CEST 2019
On 7/9/19 5:20 PM, Stefan Reiter wrote:
> 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 at proxmox.com>
> Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
> ---
>
> Nevermind v1, perl arrays and hashes are confusing. This time it works with
> multiple custom options as well ;)
Oh, and FYI: your repo tag is wrong here.
And perl hashes and arrays itself aren't to bad, but yes, the mix of
both needs some syntactic bending, though.. ;-)
More information about the pve-devel
mailing list