← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~slystopad/cloud-init:fix/LP1665773 into cloud-init:master

 

Serg Lystopad has proposed merging ~slystopad/cloud-init:fix/LP1665773 into cloud-init:master.

Requested reviews:
  cloud init development team (cloud-init-dev)
Related bugs:
  Bug #1665773 in cloud-init: "wrong configuration example for cc_set_passwords module"
  https://bugs.launchpad.net/cloud-init/+bug/1665773

For more details, see:
https://code.launchpad.net/~slystopad/cloud-init/+git/cloud-init/+merge/317681
-- 
Your team cloud init development team is requested to review the proposed merge of ~slystopad/cloud-init:fix/LP1665773 into cloud-init:master.
diff --git a/cloudinit/config/cc_set_passwords.py b/cloudinit/config/cc_set_passwords.py
index cf1f59e..af6704c 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

Follow ups