forked from pool/cloud-init
12 lines
448 B
Diff
12 lines
448 B
Diff
|
--- cloudinit/sources/DataSourceAzure.py.orig
|
||
|
+++ cloudinit/sources/DataSourceAzure.py
|
||
|
@@ -1206,7 +1206,7 @@ def read_azure_ovf(contents):
|
||
|
if password:
|
||
|
defuser['lock_passwd'] = False
|
||
|
if DEF_PASSWD_REDACTION != password:
|
||
|
- defuser['passwd'] = encrypt_pass(password)
|
||
|
+ defuser['passwd'] = cfg['password'] = encrypt_pass(password)
|
||
|
|
||
|
if defuser:
|
||
|
cfg['system_info'] = {'default_user': defuser}
|