summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorSergio Lystopad <slystopad@mirantis.com>2017-02-17 22:50:32 +0200
committerScott Moser <smoser@brickies.net>2017-03-07 13:31:46 -0500
commit5a0bee770fe80573e8efad9ca97233079adebd78 (patch)
tree81b21e0425ef3bdcfb4eb66b8533168c7b766742 /cloudinit
parent1d751a6f46f044e3c3827f3cef0e4a2e71d50fe7 (diff)
downloadvyos-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-xcloudinit/config/cc_set_passwords.py10
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