summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-08-28 14:07:38 -0400
committerScott Moser <smoser@ubuntu.com>2012-08-28 14:07:38 -0400
commit09cec0837a20f6cfafa520aa0ff2e484e1fd9c01 (patch)
tree75d2bc331f1e7d4303c51e004f224d327c3c1738
parent88908acf8c5766a7b08a60a797f2e65fe0a7fd3e (diff)
downloadvyos-cloud-init-09cec0837a20f6cfafa520aa0ff2e484e1fd9c01.tar.gz
vyos-cloud-init-09cec0837a20f6cfafa520aa0ff2e484e1fd9c01.zip
fix busted cc_ssh_import_id
-rw-r--r--cloudinit/config/cc_ssh_import_id.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cloudinit/config/cc_ssh_import_id.py b/cloudinit/config/cc_ssh_import_id.py
index 1625c8e0..c5f07376 100644
--- a/cloudinit/config/cc_ssh_import_id.py
+++ b/cloudinit/config/cc_ssh_import_id.py
@@ -57,9 +57,10 @@ def handle(_name, cfg, cloud, log, args):
continue
try:
- import_ssh_ids(ids, user, log)
+ import_ssh_ids(import_ids, user, log)
except Exception as exc:
- util.logexc(exc, "ssh-import-id failed for: %s %s" % (user, ids))
+ util.logexc(exc, "ssh-import-id failed for: %s %s" %
+ (user, import_ids))
elist.append(exc)
if len(elist):