70
70
# if there are keys in cloud-config, use them
73
73
tgt_fn = KEY_2_FILE[key][0]
74
74
tgt_perms = KEY_2_FILE[key][1]
75
75
util.write_file(tgt_fn, val, tgt_perms)
78
78
if pub in cfg['ssh_keys'] or priv not in cfg['ssh_keys']:
80
80
pair = (KEY_2_FILE[priv][0], KEY_2_FILE[pub][0])