diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-03-09 20:47:27 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-03-09 20:47:27 -0500 |
commit | 0865e5179f2a803f727e83b5e36681613e63fe8a (patch) | |
tree | 3c593556155c5b1f199e22a525bd94b6f66efe71 /config | |
parent | 93e553d64baf6f7e9b135b86f822c4af8bd192d0 (diff) | |
parent | 075fdbfcc567de07fcf54566872d812c8573efb9 (diff) | |
download | vyos-cloud-init-0865e5179f2a803f727e83b5e36681613e63fe8a.tar.gz vyos-cloud-init-0865e5179f2a803f727e83b5e36681613e63fe8a.zip |
add default user to 'lxd' group and create groups when necessary.
This add 'lxd' to the list of groups that the default user is added to.
It also changes behavior to create any necessary groups that are listed
for the user rather than failing to add the user.
Theres also a fix for usage of logexc that I found along the way.
LP: #1539317
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 795df19f..a6afcc83 100644 --- a/config/cloud.cfg +++ b/config/cloud.cfg @@ -89,7 +89,7 @@ system_info: name: ubuntu lock_passwd: True gecos: Ubuntu - groups: [adm, audio, cdrom, dialout, dip, floppy, netdev, plugdev, sudo, video] + groups: [adm, audio, cdrom, dialout, dip, floppy, lxd, 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 |