diff options
author | Scott Moser <smoser@brickies.net> | 2012-10-23 12:13:41 +0200 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2012-10-23 12:13:41 +0200 |
commit | 605c10763752582af139f8677f1f907705564824 (patch) | |
tree | 3543d8a2a92f825a36352af1e80f9242d5201b06 /doc | |
parent | bdaa57bc5b8a75b0891673a7bb0a60c5b02beb7c (diff) | |
parent | 0049b6e7bc7f52fd442f1b8902294ca8c379df5c (diff) | |
download | vyos-cloud-init-605c10763752582af139f8677f1f907705564824.tar.gz vyos-cloud-init-605c10763752582af139f8677f1f907705564824.zip |
move default user info out of code and into config
Remove the need to have 'default_user' and 'default_user_groups' groups be
hard coded into the distro class, instead let that set of configuration be
located in the config file where it should be specified instead.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/cloud-config-user-groups.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/examples/cloud-config-user-groups.txt b/doc/examples/cloud-config-user-groups.txt index 1a46c540..de5f321b 100644 --- a/doc/examples/cloud-config-user-groups.txt +++ b/doc/examples/cloud-config-user-groups.txt @@ -96,3 +96,14 @@ users: # foobar: ... # # users[0] (the first user in users) overrides the user directive. +# +# The 'default' user above references the distro's config: +# system_info: +# default_user: +# name: Ubuntu +# plain_text_passwd: 'ubuntu' +# home: /home/ubuntu +# shell: /bin/bash +# lock_passwd: True +# gecos: Ubuntu +# groups: [adm, audio, cdrom, dialout, floppy, video, plugdev, dip, netdev] |