summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_ssh.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-07-22 14:15:57 -0400
committerScott Moser <smoser@ubuntu.com>2015-07-22 14:15:57 -0400
commit4c799192a9d3132da0138e1adb640a9ab7e191b0 (patch)
tree98cdd8406add53b8270fa8a12b1fd35114df577c /cloudinit/config/cc_ssh.py
parent404baf87e58f2c9740c8b31137b727c77d182058 (diff)
downloadvyos-cloud-init-4c799192a9d3132da0138e1adb640a9ab7e191b0.tar.gz
vyos-cloud-init-4c799192a9d3132da0138e1adb640a9ab7e191b0.zip
improve log message
Diffstat (limited to 'cloudinit/config/cc_ssh.py')
-rw-r--r--cloudinit/config/cc_ssh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_ssh.py b/cloudinit/config/cc_ssh.py
index 7fb13333..c2a7af72 100644
--- a/cloudinit/config/cc_ssh.py
+++ b/cloudinit/config/cc_ssh.py
@@ -101,7 +101,7 @@ def handle(_name, cfg, cloud, log, _args):
except util.ProcessExecutionError as e:
err = util.decode_binary(e.stderr).lower()
if e.exit_code == 1 and err.lower().startswith("unknown key"):
- log.debug("unknown key type %s" % keytype)
+ log.debug("ssh-keygen: unknown key type '%s'", keytype)
else:
util.logexc(log, "Failed generating key type %s to "
"file %s", keytype, keyfile)