summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2013-09-30 12:11:21 -0400
committerScott Moser <smoser@ubuntu.com>2013-09-30 12:11:21 -0400
commitadbc9e73376cc7ef70455197f57aa41104eba7d6 (patch)
tree2bf6133a835dd843abcd8bf1dd2d57bbb48c16fe /config
parent023265367fc4cd9647c40fdef2a90684b80c2ea8 (diff)
parent290205eb30e1d69138919df266176bed537a1ea0 (diff)
downloadvyos-cloud-init-adbc9e73376cc7ef70455197f57aa41104eba7d6.tar.gz
vyos-cloud-init-adbc9e73376cc7ef70455197f57aa41104eba7d6.zip
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. LP: #1228228
Diffstat (limited to 'config')
-rw-r--r--config/cloud.cfg2
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