summaryrefslogtreecommitdiffstats
path: root/libexec/container/enter
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-04-30 22:10:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-04-30 22:10:58 +0000
commit5e8cdc8f88a9b9684cc6dc02b1d04ad52d966fe4 (patch)
tree196f1feb7861b71b41d0836231ff6dbc537cf371 /libexec/container/enter
parentAdding upstream version 20220428. (diff)
downloadopen-infrastructure-compute-tools-5e8cdc8f88a9b9684cc6dc02b1d04ad52d966fe4.tar.xz
open-infrastructure-compute-tools-5e8cdc8f88a9b9684cc6dc02b1d04ad52d966fe4.zip
Adding upstream version 20220430.upstream/20220430
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libexec/container/enter')
-rwxr-xr-xlibexec/container/enter2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/container/enter b/libexec/container/enter
index 604d714..f1dae7f 100755
--- a/libexec/container/enter
+++ b/libexec/container/enter
@@ -111,7 +111,7 @@ done
SSH_CLIENT="${SSH_CLIENT:-127.0.0.1 0 0}"
# Run
-nsenter --all --target "${LEADER}" --wd="${MACHINES}/${NAME}/root" /usr/bin/script -c "LC_ALL=C.UTF-8 /bin/bash -l" -q /dev/null
+nsenter --all --target "${LEADER}" --wd="${MACHINES}/${NAME}/root" /usr/bin/script -c "LC_ALL=C.UTF-8 SSH_CLIENT=\"${SSH_CLIENT}\" /bin/bash -l" -q /dev/null
case "${SSH_CLIENT}" in
127.0.0.1*)