documentation problem regarding user groups
Bug #1612656 reported by
Sunil K Chopra
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Medium
|
Unassigned |
Bug Description
In the latest documentation examples, the first example has an apparent error on line 14.
http://
```
# Add users to the system. Users are added after groups are added.
users:
- default
- name: foobar
gecos: Foo B. Bar
primary-group: foobar
groups: users
```
It shows that a string is an acceptable value for the `groups` key. On line 23, it shows another string with comma-separated values. Both of these values cause errors. The `groups` key requires an array, even if there is only one value. This is implied at line 109, but not explicitly stated.
Please fix?
thanks!
Sunil
To post a comment you must log in.
Hi,
In bug 1562918 cloud-init code was fixed so that the documentation was correct.
See the commit message for examples.
If you find otherwise, please re-open.
https:/ /git.launchpad. net/cloud- init/commit/ ?id=d75a912fb37 5afbab055db3178 966d1f83b44143