summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-09-21 14:15:09 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-09-21 14:15:09 -0700
commit62631d30aae55a42b77d326af75d5e476d4baf36 (patch)
tree4b8fb0e8c3317fe6f41ca638235af818804ae3bd /doc/examples
parent94b9647e4df742982cac8a2c2925fb4894281dbf (diff)
downloadvyos-cloud-init-62631d30aae55a42b77d326af75d5e476d4baf36.tar.gz
vyos-cloud-init-62631d30aae55a42b77d326af75d5e476d4baf36.zip
1. Cleanup the user creation so that the distro class is
responsible only for creating users and groups and normalizing a input configuration into a normalized format that splits up the user list, the group list and the default user listsand let the add user/group config module handle calling those methods to add its own users/groups and the default user (if any). 2. Also add in tests for this normalization process to ensure that it is pretty bug free and works with the different types of formats that users/groups/defaults + options can take.
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/cloud-config-user-groups.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/examples/cloud-config-user-groups.txt b/doc/examples/cloud-config-user-groups.txt
index 1da0d717..073fbd8f 100644
--- a/doc/examples/cloud-config-user-groups.txt
+++ b/doc/examples/cloud-config-user-groups.txt
@@ -81,14 +81,16 @@ users:
# directive.
# system: Create the user as a system user. This means no home directory.
#
-# Default user creation: Ubuntu Only
-# Unless you define users, you will get a Ubuntu user on Ubuntu systems with the
+# Default user creation:
+#
+# Unless you define users, you will get a 'ubuntu' user on buntu systems with the
# legacy permission (no password sudo, locked user, etc). If however, you want
# to have the ubuntu user in addition to other users, you need to instruct
# cloud-init that you also want the default user. To do this use the following
# syntax:
# users:
-# default: True
+# - default
+# - bob
# foobar: ...
#
# users[0] (the first user in users) overrides the user directive.