macbook custom ssh key

This commit is contained in:
cronekorkn 2023-08-01 12:57:27 +02:00
parent fe884f446a
commit 1fe2e0710f
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw
2 changed files with 6 additions and 3 deletions

View file

@ -6,7 +6,5 @@ def apply_start(repo, target, nodes, interactive=False, **kwargs):
file.write('\n'.join(sorted(
line
for node in repo.nodes
if node.has_bundle('ssh')
for line in node.metadata.get('ssh/is_known_as')
for line in node.metadata.get('ssh/is_known_as', set())
)))

View file

@ -8,6 +8,11 @@
],
'metadata': {
'id': '597eee25-8908-4569-a6d6-3f823050faa1',
'ssh': {
'is_known_as': {
'|1|oHr6Zv9mhqLU/CiR+vqUK93e/yY=|PPcAe+GU5Yi6OVvIzrP8bJI3EPs= ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMNMmL0lKPjvNBTKC90bXoIsXjhMVr5/6ego5KvdpO4+',
},
},
},
'os': 'macos',
'cmd_wrapper_outer': 'sh -c {}',