I've applied the diff.
The defined users are now being created, but only when their primary group is
created first using the groups statement.
The users are also correctly added to the specified additionals groups.
I've pasted my userdata below:
#cloud-config
groups:
- ansible
- sysop
users:
- name: sysop
gecos: "System Operator"
primary-group: sysop
groups: "sudo,adm"
shell: /bin/bash
lock-passwd: false
passwd: <redacted>
- name: ansible
gecos: Ansible
primary-group: ansible
groups: sudo
shell: /bin/bash
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1562918
Title:
cloud-init does not create defined users
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1562918/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs