Merge ~larsks/cloud-init:bug/1354694 into cloud-init:master
Proposed by
Lars Kellogg-Stedman
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | cbf93eb4ae9fba0797ab4ae7d62bc0d64611fa7e | ||||
Proposed branch: | ~larsks/cloud-init:bug/1354694 | ||||
Merge into: | cloud-init:master | ||||
Diff against target: |
13 lines (+1/-1) 1 file modified
cloudinit/distros/__init__.py (+1/-1) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser | Pending | ||
Review via email:
|
Description of the change
The documentation shows group names in the 'groups:' key delimited by ", ", but this will result in group names that contain spaces. This can cause the 'groupadd' or 'useradd' commands to fail.
This patch ensures that we strip whitespace from either end of the group names passed to the 'groups:' key.
To post a comment you must log in.
I've re-opened the bug, unfortunately the change here didnt fix the issue all the way.