yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #19502
[Bug 1356208] Re: groups syntax broken
** Also affects: cloud-init
Importance: Undecided
Status: New
** Changed in: cloud-init
Importance: Undecided => Medium
** Changed in: cloud-init
Status: New => Triaged
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1356208
Title:
groups syntax broken
Status in Init scripts for use on cloud images:
Triaged
Status in “cloud-init” package in Ubuntu:
New
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1356208/+subscriptions