cloud-init-dev team mailing list archive
-
cloud-init-dev team
-
Mailing list archive
-
Message #00258
[Merge] lp:~utlemming/cloud-init/azure.lp1201969 into lp:cloud-init
Ben Howard has proposed merging lp:~utlemming/cloud-init/azure.lp1201969 into lp:cloud-init.
Requested reviews:
cloud init development team (cloud-init-dev)
Related bugs:
Bug #1201969 in Ubuntu: "cloud-init parses Azure setting "DisableSshPassword" incorrectly"
https://bugs.launchpad.net/ubuntu/+bug/1201969
For more details, see:
https://code.launchpad.net/~utlemming/cloud-init/azure.lp1201969/+merge/175144
Fix for Azure SSH Password authentication.
--
https://code.launchpad.net/~utlemming/cloud-init/azure.lp1201969/+merge/175144
Your team cloud init development team is requested to review the proposed merge of lp:~utlemming/cloud-init/azure.lp1201969 into lp:cloud-init.
=== modified file 'cloudinit/sources/DataSourceAzure.py'
--- cloudinit/sources/DataSourceAzure.py 2013-07-11 14:16:18 +0000
+++ cloudinit/sources/DataSourceAzure.py 2013-07-16 21:23:31 +0000
@@ -313,7 +313,10 @@
elif name == "ssh":
cfg['_pubkeys'] = load_azure_ovf_pubkeys(child)
elif name == "disablesshpasswordauthentication":
- cfg['ssh_pwauth'] = util.is_true(value)
+ # The verb 'disablessh..." asks whether to disable password auth.
+ # Since it is disabled by default, "false" indicates that
+ # password authentication should be enabled.
+ cfg['ssh_pwauth'] = util.is_false(value)
elif simple:
if name in md_props:
md[name] = value
Follow ups