summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlib/container/enter2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/container/enter b/lib/container/enter
index f7551fe..5d2d25c 100755
--- a/lib/container/enter
+++ b/lib/container/enter
@@ -104,7 +104,7 @@ do
done
# Run
-nsenter --target ${LEADER} --mount --uts --ipc --net --pid --root --wd=/root /usr/bin/script -c "/bin/bash -l" -q /dev/null
+nsenter --all --target "${LEADER}" --wd="${MACHINES}/${NAME}/root" /usr/bin/script -c "/bin/bash -l" -q /dev/null
# Post hooks
for FILE in "${HOOKS}/post-${COMMAND}".* "${HOOKS}/${NAME}.post-${COMMAND}"