diff options
| author | Scott Moser <smoser@ubuntu.com> | 2013-09-30 12:11:21 -0400 |
|---|---|---|
| committer | Scott Moser <smoser@ubuntu.com> | 2013-09-30 12:11:21 -0400 |
| commit | 286c0113f33e021e94c46977848fc93408264865 (patch) | |
| tree | 2bf6133a835dd843abcd8bf1dd2d57bbb48c16fe /config | |
| parent | cb2c37d30157e696efca07d4f3f3554d4ebddc9a (diff) | |
| parent | fc470543c4e51b8d63d22b97e2b309e03a266d8b (diff) | |
| download | cloud-init-286c0113f33e021e94c46977848fc93408264865.tar.gz | |
add default user to 'sudo' group.
Ubuntu images in 12.04 added the user to the 'admin' group.
The admin group was deprecated/replaced with the 'sudo' group in 12.10.
d-i adds its first-user to the 'sudo' group, so it makes sense to mimic
that behavior for the default user created by cloud-init. That was the
original reason behind the presense in the 'admin' group.
Also, here I sorted alphabetically the group list.
Diffstat (limited to 'config')
| -rw-r--r-- | config/cloud.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/cloud.cfg b/config/cloud.cfg index 382cfaf8..a07cd3b0 100644 --- a/config/cloud.cfg +++ b/config/cloud.cfg @@ -84,7 +84,7 @@ system_info: name: ubuntu lock_passwd: True gecos: Ubuntu - groups: [adm, audio, cdrom, dialout, floppy, video, plugdev, dip, netdev] + groups: [adm, audio, cdrom, dialout, dip, floppy, netdev, plugdev, sudo, video] sudo: ["ALL=(ALL) NOPASSWD:ALL"] shell: /bin/bash # Other config here will be given to the distro class and/or path classes |
