Un-hard-code SSH key name
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0e5dfe6bde
commit
f5c079ffc2
@ -177,5 +177,5 @@ def on_create_claimed(payload, host_id):
|
|||||||
host=host_id,
|
host=host_id,
|
||||||
network_name=payload['network_name'],
|
network_name=payload['network_name'],
|
||||||
public_ipv4=payload['public_ipv4'],
|
public_ipv4=payload['public_ipv4'],
|
||||||
ssh_authorized_keys=['3wc'],
|
ssh_authorized_keys=list(map(lambda x: x["name"], payload['ssh_authorized_keys'])),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user