-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
When I do a duffy client list-sessions, I get my sessions and my nodes, but it doesn't tell me which user I shall use for SSH.
Looking at
Line 33 in 542b3ed
| SSH_REMOTE_CONTEXTUALIZE_CMD = "cat - >> ~root/.ssh/authorized_keys" |
root, but it would be nice if that would be part of the API reply:
"nodes": [
{
"hostname": "n27-25-177.pool.ci.centos.org",
"ipaddr": "172.27.25.177",
"comment": null,
"pool": "metal-ec2-c5n-centos-8s-x86_64",
"reusable": false,
"data": {
"provision": {
"ec2_instance_id": "i-0ad3ef244d3e595db",
"ec2_instance_type": "c5n.metal",
"hostname": "n27-25-177.pool.ci.centos.org",
"ipaddr": "172.27.25.177",
"public_hostname": "ec2-54-144-113-35.compute-1.amazonaws.com",
"public_ipaddress": "54.144.113.35",
"ssh_user": "root" # added by @evgeni
},
"nodes_spec": {
"quantity": 1,
"pool": "metal-ec2-c5n-centos-8s-x86_64"
}
},
"id": 9208,
"state": "deployed"
}
]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels