diff options
author | Chad Smith <chad.smith@canonical.com> | 2017-10-23 14:46:12 -0600 |
---|---|---|
committer | Chad Smith <chad.smith@canonical.com> | 2017-10-23 14:46:12 -0600 |
commit | a7f478aafa570abde940037014fabcb0eab16502 (patch) | |
tree | d838e40b26684f33b3b05c24ead267e28bb1b5a3 /cloudinit/config/cc_users_groups.py | |
parent | 5443ede5e90c0be56f25ac729c5f341cdb4ad31c (diff) | |
parent | 17a15f9e0ae78e4fc4e24fab0caebdf78f06ef66 (diff) | |
download | vyos-cloud-init-a7f478aafa570abde940037014fabcb0eab16502.tar.gz vyos-cloud-init-a7f478aafa570abde940037014fabcb0eab16502.zip |
merge from master at 17.1-25-g17a15f9e
Diffstat (limited to 'cloudinit/config/cc_users_groups.py')
-rw-r--r-- | cloudinit/config/cc_users_groups.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/config/cc_users_groups.py b/cloudinit/config/cc_users_groups.py index b80d1d36..f363000d 100644 --- a/cloudinit/config/cc_users_groups.py +++ b/cloudinit/config/cc_users_groups.py @@ -15,7 +15,8 @@ options, see the ``Including users and groups`` config example. Groups to add to the system can be specified as a list under the ``groups`` key. Each entry in the list should either contain a the group name as a string, or a dictionary with the group name as the key and a list of users who should -be members of the group as the value. +be members of the group as the value. **Note**: Groups are added before users, +so any users in a group list must already exist on the system. The ``users`` config key takes a list of users to configure. The first entry in this list is used as the default user for the system. To preserve the standard |