The kernel cmdline reader for network-config= expects base64 input,
however documentation suggests that network-config is *optionally*
base64 encoded.
Disabling Network Configuration
===============================
Users may disable `Cloud-init`_ 's network configuration capability and rely
on other methods, such as embedded configuration or other customizations.
`Cloud-init`_ supports the following methods for disabling cloud-init.
**Kernel Command Line**
`Cloud-init`_ will check for a parameter ``network-config`` and the
value is expected to be YAML string in the :ref:`network_config_v1` format.
The YAML string may optionally be ``Base64`` encoded, and optionally
compressed with ``gzip``.
Example disabling kernel command line entry: ::
network-config={config: disabled}
This is incorrect; encoding to base64 is *required* and *gzipping* base64 is
optional.
We could make the change to accept the disable config unencoded; I do think
that would be
the nice thing to do; alternatively, we can update the documentation to have
the example
already b64 encoded:
@Dimitri, the /etc/cloud config file is not reached; cloud-init reads the
kernel cmdline first and fails.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1862702
Title:
cannot disable cloud-init networking despite trying hard
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1862702/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs