Mark SSH started on runtime properties

This commit is contained in:
allegroai 2024-05-20 15:55:46 +03:00
parent 0abaabdbab
commit 0285a48c0c

View File

@ -739,6 +739,7 @@ def setup_ssh_server(hostname, hostnames, param, task, env):
if proxy_port:
task.set_parameter(name='properties/internal_stable_ssh_port', value=str(proxy_port))
task.set_parameter(name='properties/internal_ssh_port', value=str(port))
task._set_runtime_properties(runtime_properties={'internal_ssh_port': str(port)})
print(
"\n#\n# SSH Server running on {} [{}] port {}\n# LOGIN u:root p:{}\n#\n".format(