summaryrefslogtreecommitdiff
path: root/cloudinit/CloudConfig/cc_keys_to_console.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/CloudConfig/cc_keys_to_console.py')
-rw-r--r--cloudinit/CloudConfig/cc_keys_to_console.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/CloudConfig/cc_keys_to_console.py b/cloudinit/CloudConfig/cc_keys_to_console.py
index d462a0a8..941c49de 100644
--- a/cloudinit/CloudConfig/cc_keys_to_console.py
+++ b/cloudinit/CloudConfig/cc_keys_to_console.py
@@ -21,8 +21,9 @@ import subprocess
frequency = per_instance
+
def handle(_name, cfg, _cloud, log, _args):
- cmd = [ '/usr/lib/cloud-init/write-ssh-key-fingerprints' ]
+ cmd = ['/usr/lib/cloud-init/write-ssh-key-fingerprints']
fp_blacklist = util.get_cfg_option_list_or_str(cfg,
"ssh_fp_console_blacklist", [])
key_blacklist = util.get_cfg_option_list_or_str(cfg,