update cc_users_groups for uid parameter must be set as string
Bug #1918719 reported by
Samuel Matzek
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The User and Groups module's uid parameter does not take effect unless you specify its value as a string.
I do not know if this is a code defect or if it is working as designed. If it is working as designed, it would be nice if the documentation were updated to note that uid should be set as a string instead of an integer.
This line of code in the base distro class only appends the key-val to the useradd command args if the val is a string:
https:/
Changed in cloud-init: | |
status: | New → Triaged |
To post a comment you must log in.
Tracked in Github Issues as https:/ /github. com/canonical/ cloud-init/ issues/ 3855