diff options
author | Chad Smith <chad.smith@canonical.com> | 2020-03-04 13:53:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-04 13:53:19 -0700 |
commit | 1d2dfc5d879dc905f440697c2b805c9485dda821 (patch) | |
tree | d65cbc78f93f47d57602508fc3403cd2fcb406e2 /doc/examples/cloud-config-salt-minion.txt | |
parent | fa1abfec27050a4fb71cad950a17e42f9b43b478 (diff) | |
download | vyos-cloud-init-1d2dfc5d879dc905f440697c2b805c9485dda821.tar.gz vyos-cloud-init-1d2dfc5d879dc905f440697c2b805c9485dda821.zip |
net: support network-config:disabled on the kernel commandline (#232)
Allow disabling cloud-init's network configuration via a plain-text kernel cmdline
Cloud-init docs indicate that users can disable cloud-init networking via kernel
command line parameter 'network-config=<YAML>'. This does not work unless
the <YAML> payload base64 encoded. Document the base64 encoding
requirement and add a plain-text value for disabling cloud-init network config:
network-config=disabled
Also:
- Log an error and ignore any plain-text network-config payloads that are
not specifically 'network-config=disabled'.
- Log a warning if network-config kernel param is invalid yaml but do not
raise an exception, allowing boot to continue and use fallback networking.
LP: #1862702
Diffstat (limited to 'doc/examples/cloud-config-salt-minion.txt')
0 files changed, 0 insertions, 0 deletions