diff options
Diffstat (limited to 'doc/examples')
| -rw-r--r-- | doc/examples/cloud-config-user-groups.txt | 16 | 
1 files changed, 10 insertions, 6 deletions
| diff --git a/doc/examples/cloud-config-user-groups.txt b/doc/examples/cloud-config-user-groups.txt index 1da0d717..1a46c540 100644 --- a/doc/examples/cloud-config-user-groups.txt +++ b/doc/examples/cloud-config-user-groups.txt @@ -1,11 +1,11 @@ -# add groups to the system +# Add groups to the system  # The following example adds the ubuntu group with members foo and bar and  # the group cloud-users.  groups:    - ubuntu: [foo,bar]    - cloud-users -# add users to the system. Users are added after groups are added. +# Add users to the system. Users are added after groups are added.  users:    - default    - name: foobar @@ -81,14 +81,18 @@ 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 ubuntu 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 +# 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. | 
