forked from pool/cloud-init
14 lines
480 B
Diff
14 lines
480 B
Diff
|
--- cloudinit/config/cc_set_passwords.py.orig
|
||
|
+++ cloudinit/config/cc_set_passwords.py
|
||
|
@@ -213,7 +213,9 @@ def handle(_name, cfg, cloud, log, args)
|
||
|
if len(randlist):
|
||
|
blurb = ("Set the following 'random' passwords\n",
|
||
|
'\n'.join(randlist))
|
||
|
- sys.stderr.write("%s\n%s\n" % blurb)
|
||
|
+ util.multi_log(
|
||
|
+ "%s\n%s\n" % blurb, stderr=False
|
||
|
+ )
|
||
|
|
||
|
if expire:
|
||
|
expired_users = []
|