From 564c50804f12fcfe922c0a70318f41dd1a132ffa Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 30 Apr 2022 16:08:15 +0200 Subject: Actually passing through SSH_CLIENT variable to enable powerline-prompt in container enter command. Signed-off-by: Daniel Baumann --- libexec/container/enter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libexec/container/enter') 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*) -- cgit v1.2.3