~raharper/cloud-init:fix/debian-config-yaml-spaces

Last commit made on 2019-08-30
Get this branch:
git clone -b fix/debian-config-yaml-spaces https://git.launchpad.net/~raharper/cloud-init
Only Ryan Harper can upload to this branch. If you are Ryan Harper please log in for upload directions.

Branch merges

Branch information

Name:
fix/debian-config-yaml-spaces
Repository:
lp:~raharper/cloud-init

Recent commits

6e6be6a... by Ryan Harper

Break up replace expressions with -e

20543fa... by Ryan Harper

Refactor Chad's fix to emit the key and brackets

ec89794... by Ryan Harper

Use Chad's version

3d47f72... by Ryan Harper

debian/cloud-init.config: fix yaml parsing with whitespace

Users may rewrite valid yaml adding or omitting additional white space
when defining the 'datasources_list' variable. If the yaml did not include
a space between the start of the list '[' and the members and the end ']' then
this would break the shell yaml parsing and produce invalid yaml on
dpkg-reconfigure cloud-init. Fix this issue by updating the sed matching
expression to allow for zero or more spaces after the leading bracket and
before the trailing bracket. For example, this branch now accepts:

  datasources_list: [NoCloud, None]

LP: #1841697

7ab616a... by Chad Smith

releasing cloud-init version 19.2-21-ge6383719-0ubuntu1

e9de7e2... by Chad Smith

update changelog (New upstream snapshot 19.2-21-ge6383719).

5673856... by Chad Smith

merge from origin/master at 19.2-21-ge6383719

e638371... by Chad Smith

ubuntu-drivers: call db_x_loadtemplatefile to accept NVIDIA EULA

Emit a script allowing cloud-init to set linux/nvidia/latelink
debconf selection to true. This avoids having to call
debconf-set-selections and allows cloud-init to pre-confgure
linux-restricted-modules to link NVIDIA drivers to the running kernel.

Cloud-init loads this debconf template and sets the value to true in the
debconf database by sourcing debconf's /usr/share/debconf/confmodule and
uses db_x_loadtemplatefile to register cloud-init's setting for
linux/nvidia/latelink.

LP: #1840080

3e99827... by =?utf-8?q?Florian_M=C3=BCller?= <email address hidden>

Add missing #cloud-config comment on first example in documentation.

Since this is the first code snippet some users might see,
they could end up in the same situation like me today
when they wonder why their yaml user config is not
working at all.

8587870... by Chad Smith

ubuntu-drivers: emit latelink=true debconf to accept nvidia eula

To accept NVIDIA EULA, cloud-init needs to emit latelink=true debconf
setting to the linux-restricted-modules package to allow NVIDIA
drivers to properly link to the running kernel.

LP: #1840080