Public bug reported:

When adding a user, the 'groups' keyword only works if multiple groups
are given in useradd syntax, i.e. as a single string without spaces

groups: adm,sudo,cdrom

I'm guessing the value is passed directly to the --groups command line option 
of useradd. 
Any of the more intuitive syntax forms (including the one in the documentation 
at http://cloudinit.readthedocs.org/en/latest/topics/examples.html) do not seem 
to work. I've tried

groups: [adm, sudo, cdrom]

groups: adm, sudo, cdrom

groups:
  - adm
  - sudo

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/1356208

Title:
  groups syntax broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1356208/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to