From 7e2fd83b23ba060a0fb452d5bf05324f710d80a6 Mon Sep 17 00:00:00 2001 From: David Laine Date: Fri, 7 Jul 2023 14:11:09 -0500 Subject: [PATCH] Update. --- .../cray-ims-v2-image-create-kiwi-ng-job-template.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kubernetes/cray-ims/templates/cray-ims-v2-image-create-kiwi-ng-job-template.yaml b/kubernetes/cray-ims/templates/cray-ims-v2-image-create-kiwi-ng-job-template.yaml index 3755eee..47da614 100644 --- a/kubernetes/cray-ims/templates/cray-ims-v2-image-create-kiwi-ng-job-template.yaml +++ b/kubernetes/cray-ims/templates/cray-ims-v2-image-create-kiwi-ng-job-template.yaml @@ -332,6 +332,10 @@ data: value: /mnt/image - name: SSHD_OPTIONS value: "-E /etc/cray/ims/sshd.log -f /etc/cray/ims/sshd_config" + # If the -f options is specified in SSHD_OPTIONS, the value of SSHD_CONFIG_FILE must match in order for the ssh jail to be setup correctly. + # SSHD_CONFIG_FILE is only used for writing to the sshd config file, and is not passed to sshd unless specified in SSHD_OPTIONS. + - name: SSHD_CONFIG_FILE + value: "/etc/cray/ims/sshd_config" - name: IMS_JOB_ID value: "$id" - name: SSH_JAIL