[Bug 1356208] [NEW] groups syntax broken

Lukas cibug at safetymail.info
Wed Aug 13 07:04:24 UTC 2014


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



More information about the Ubuntu-server-bugs mailing list