diff options
author | Sergio Lystopad <slystopad@mirantis.com> | 2017-02-17 22:50:32 +0200 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-03-07 13:31:46 -0500 |
commit | 5a0bee770fe80573e8efad9ca97233079adebd78 (patch) | |
tree | 81b21e0425ef3bdcfb4eb66b8533168c7b766742 /cloudinit | |
parent | 1d751a6f46f044e3c3827f3cef0e4a2e71d50fe7 (diff) | |
download | vyos-cloud-init-5a0bee770fe80573e8efad9ca97233079adebd78.tar.gz vyos-cloud-init-5a0bee770fe80573e8efad9ca97233079adebd78.zip |
doc: Fix configuration example for cc_set_passwords module.
The documentation indicated chpasswd/list should be a list when
the code only accepts a string.
LP: #1665773
Diffstat (limited to 'cloudinit')
-rwxr-xr-x | cloudinit/config/cc_set_passwords.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cloudinit/config/cc_set_passwords.py b/cloudinit/config/cc_set_passwords.py index cf1f59ec..af6704c6 100755 --- a/cloudinit/config/cc_set_passwords.py +++ b/cloudinit/config/cc_set_passwords.py @@ -45,11 +45,11 @@ enabled, disabled, or left to system defaults using ``ssh_pwauth``. expire: <true/false> chpasswd: - list: - - user1:password1 - - user2:Random - - user3:password3 - - user4:R + list: | + user1:password1 + user2:Random + user3:password3 + user4:R """ import sys |