On Mon, Oct 19, 2020 at 07:08:46PM +0800, Wu Zhende wrote:
[Why] Network users need to use sshr to login testbox. So testbox should set sshr. And testbox get sshr info from job content. Scheduler needs to add ssh info to job content
Signed-off-by: Wu Zhende wuzhende666@163.com
container/scheduler/start | 4 ++++ src/lib/job.cr | 6 ++++++ 2 files changed, 10 insertions(+)
diff --git a/container/scheduler/start b/container/scheduler/start index 81e7139..1183cde 100755 --- a/container/scheduler/start +++ b/container/scheduler/start @@ -24,10 +24,14 @@ names = Set.new %w[ GIT_SERVER FLUENTD_SERVER_HOST FLUENTD_SERVER_PORT
- SSH_PORT_BASE
- SSH_PORT_LEN
SSH => SSHR
- set_ssh_port() if self["uuid"]?
uuid => sshd
Thanks, Fengguang