summaryrefslogtreecommitdiffstats
path: root/lib/container
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2019-03-09 09:20:40 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2019-03-09 09:20:44 +0000
commit31a13ab3040d1342723400f9bccc2542960170d2 (patch)
treedaef8fd875ed584d3e4d0dbedf0731dd95575dc0 /lib/container
parentReleasing version 20190304. (diff)
downloadcompute-tools-31a13ab3040d1342723400f9bccc2542960170d2.tar.xz
compute-tools-31a13ab3040d1342723400f9bccc2542960170d2.zip
Using C.UTF-8 in container enter command as fallback locale.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'lib/container')
-rwxr-xr-xlib/container/enter2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/container/enter b/lib/container/enter
index 9c9ebfa..10a122f 100755
--- a/lib/container/enter
+++ b/lib/container/enter
@@ -107,7 +107,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 "/bin/bash -l" -q /dev/null
+nsenter --all --target "${LEADER}" --wd="${MACHINES}/${NAME}/root" /usr/bin/script -c "LC_ALL=C.UTF-8 /bin/bash -l" -q /dev/null
case "${SSH_CLIENT}" in
127.0.0.1*)