← Back to team overview

cloud-init-dev team mailing list archive

[Merge] lp:~yufang521247/cloud-init/fix-setpassword-for-rhel5 into lp:cloud-init

 

Yufang Zhang has proposed merging lp:~yufang521247/cloud-init/fix-setpassword-for-rhel5 into lp:cloud-init.

Requested reviews:
  cloud init development team (cloud-init-dev)

For more details, see:
https://code.launchpad.net/~yufang521247/cloud-init/fix-setpassword-for-rhel5/+merge/168278
-- 
https://code.launchpad.net/~yufang521247/cloud-init/fix-setpassword-for-rhel5/+merge/168278
Your team cloud init development team is requested to review the proposed merge of lp:~yufang521247/cloud-init/fix-setpassword-for-rhel5 into lp:cloud-init.
=== modified file 'cloudinit/config/cc_set_passwords.py'
--- cloudinit/config/cc_set_passwords.py	2012-10-28 02:25:48 +0000
+++ cloudinit/config/cc_set_passwords.py	2013-06-09 08:52:24 +0000
@@ -78,7 +78,7 @@
         ch_in = '\n'.join(plist_in)
         try:
             log.debug("Changing password for %s:", users)
-            util.subp(['chpasswd'], ch_in)
+            util.subp(['chpasswd', ch_in])
         except Exception as e:
             errors.append(e)
             util.logexc(log,


Follow ups