diff options
-rw-r--r-- | cloudinit/config/cc_ssh_import_id.py | 5 |
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): |