From e12874a60f3c9446dd627575e435361abdb871a8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 27 May 2018 10:55:42 +0200 Subject: Correcting and simplifying nsenter call in container enter command. Signed-off-by: Daniel Baumann --- lib/container/enter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/container') 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}" -- cgit v1.2.3