diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-08-31 15:40:29 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-08-31 15:40:29 -0400 |
commit | c6e4c646287e26d15b8d2402527e1f77e21113cd (patch) | |
tree | 3d286e2598d6dc64f5c7fcdfac4b5185e7313652 /cloudinit/distros/ubuntu.py | |
parent | 53f276c22ef57f49bfae5c6ddc233043d0ef51ad (diff) | |
parent | a90e2802b16b0af7b9cef718d19605e2a0565a8e (diff) | |
download | vyos-cloud-init-c6e4c646287e26d15b8d2402527e1f77e21113cd.tar.gz vyos-cloud-init-c6e4c646287e26d15b8d2402527e1f77e21113cd.zip |
usergroup related fixes
- Converted user list to user dict to allow exclusion of the default user
on Ubuntu systems via cloud-config (LP: #1041384).
- Fixed bug with user creation on Ubuntu where the default user groups are
not set properly (LP: #1044044).
- Fixed documentation for user creation (LP: #1044508).
LP: #1041384, #1044044, #1044508
Diffstat (limited to 'cloudinit/distros/ubuntu.py')
-rw-r--r-- | cloudinit/distros/ubuntu.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cloudinit/distros/ubuntu.py b/cloudinit/distros/ubuntu.py index 1f4efb59..5444cbc0 100644 --- a/cloudinit/distros/ubuntu.py +++ b/cloudinit/distros/ubuntu.py @@ -31,3 +31,5 @@ class Distro(debian.Distro): distro_name = 'ubuntu' default_user = 'ubuntu' + default_user_groups = ("adm,admin,audio,cdrom,dialout,floppy,video," + "plugdev,dip,netdev,sudo") |