[Bug 1562918] Re: cloud-init does not create defined users

Leander Janssen 1562918 at bugs.launchpad.net
Thu Mar 31 20:34:12 UTC 2016


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
Server Team, which is subscribed to cloud-init in 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



More information about the Ubuntu-server-bugs mailing list