summaryrefslogtreecommitdiff
path: root/cloudinit/distros/ubuntu.py
diff options
context:
space:
mode:
authorBen Howard <ben.howard@canonical.com>2012-08-31 12:45:40 -0600
committerBen Howard <ben.howard@canonical.com>2012-08-31 12:45:40 -0600
commitb696c2a57821e0e1fe18400016c906b92f8c271e (patch)
tree91d6d25beded00359f318a25f9d4808cc92ed361 /cloudinit/distros/ubuntu.py
parent09cec0837a20f6cfafa520aa0ff2e484e1fd9c01 (diff)
downloadvyos-cloud-init-b696c2a57821e0e1fe18400016c906b92f8c271e.tar.gz
vyos-cloud-init-b696c2a57821e0e1fe18400016c906b92f8c271e.zip
- 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).
Diffstat (limited to 'cloudinit/distros/ubuntu.py')
-rw-r--r--cloudinit/distros/ubuntu.py2
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")