forked from pool/cloud-init
Robert Schweikert
1b2a3c0e23
+ Increase the default length of generated passwords OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=163
12 lines
304 B
Diff
12 lines
304 B
Diff
--- cloudinit/config/cc_set_passwords.py.orig
|
|
+++ cloudinit/config/cc_set_passwords.py
|
|
@@ -236,7 +236,7 @@ def handle(_name, cfg, cloud, log, args)
|
|
raise errors[-1]
|
|
|
|
|
|
-def rand_user_password(pwlen=9):
|
|
+def rand_user_password(pwlen=20):
|
|
return util.rand_str(pwlen, select_from=PW_SET)
|
|
|
|
|