diff options
author | Ben Howard <ben.howard@canonical.com> | 2013-07-17 08:21:29 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2013-07-17 08:21:29 -0400 |
commit | 7b9b49efe6866103730b8b202c8ddf2189644ea5 (patch) | |
tree | 7f3fc23fd511e58f8aa1f45bbdb3eb5a165599f0 /cloudinit | |
parent | 8c15320283012d218c2165f5dfb38a29d2cf7b53 (diff) | |
parent | e2e5becb83827e741bfaaeac5edc1c7937718faa (diff) | |
download | vyos-cloud-init-7b9b49efe6866103730b8b202c8ddf2189644ea5.tar.gz vyos-cloud-init-7b9b49efe6866103730b8b202c8ddf2189644ea5.zip |
DataSourceAzure: fix inverted logic on DisablesshPasswordAuthentication
DisablesshPasswordAuthentication == True
means that ssh_pwauth should be disabled rather than enabled.
LP: #1201969
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/sources/DataSourceAzure.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceAzure.py b/cloudinit/sources/DataSourceAzure.py index 2818408c..f1419296 100644 --- a/cloudinit/sources/DataSourceAzure.py +++ b/cloudinit/sources/DataSourceAzure.py @@ -313,7 +313,7 @@ def read_azure_ovf(contents): elif name == "ssh": cfg['_pubkeys'] = load_azure_ovf_pubkeys(child) elif name == "disablesshpasswordauthentication": - cfg['ssh_pwauth'] = util.is_true(value) + cfg['ssh_pwauth'] = util.is_false(value) elif simple: if name in md_props: md[name] = value |