Marked this back to confirmed. The fix that was applied in cbf93eb4ae9f [1] did not actually fix the problem.
The user-data to show a bug is: #cloud-config users: - default - name: foobar gecos: "My User" groups: sudo, adm - name: wark groups: [sudo, adm] - name: wark2 groups: [sudo, "adm "]
The 'wark2' user is not really necessary, but the change proposed at [2] would normalize that trailing white space out also.
-- [1] https://git.launchpad.net/cloud-init/commit/?id=cbf93eb4ae9fba0797ab4ae7d62bc0d64611fa7e [2] https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/313458
Marked this back to confirmed.
The fix that was applied in cbf93eb4ae9f [1] did not actually fix the problem.
The user-data to show a bug is:
#cloud-config
users:
- default
- name: foobar
gecos: "My User"
groups: sudo, adm
- name: wark
groups: [sudo, adm]
- name: wark2
groups: [sudo, "adm "]
The 'wark2' user is not really necessary, but the change proposed at [2] would normalize that trailing white space out also.
-- /git.launchpad. net/cloud- init/commit/ ?id=cbf93eb4ae9 fba0797ab4ae7d6 2bc0d64611fa7e /code.launchpad .net/~smoser/ cloud-init/ +git/cloud- init/+merge/ 313458
[1] https:/
[2] https:/