[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#931173: Configuring static networking via NoCloud with Network Config Version 2 does not work



On Tue, 13 Aug 2019 10:04:03 +0200 Bastian Blank <waldi@debian.org> wrote:
> - cloud-init write the config file using a name that is ignored by
>   ifupdown.  The filename is "50-cloud-init.cfg" and everything with "-"
>   or "_" in it is ignored. (wtf?)

No, it's the other way around:
File names may *only* include alphanumeric and "-" + "_" but not a dot.
So the ".cfg" is the part that is causing the problem.

This has already been addressed upstream, see
https://github.com/canonical/cloud-init/commit/a6faf3acef02bd8cd4d46ac9efeebf24b3f21d81#diff-6bf578623d31fa6e19b21138b2c41e8e

So I'd suggest to backport this patch:
https://github.com/canonical/cloud-init/commit/a6faf3acef02bd8cd4d46ac9efeebf24b3f21d81.patch


Best regards,
   Christian


Reply to: