arch-nspawn: Hack to give the inner process a controlling terminal
This was lost at some point.
This commit is contained in:
parent
cd500d161f
commit
6a7dcdeff9
|
@ -116,4 +116,4 @@ exec ${CARCH:+setarch "$CARCH"} systemd-nspawn -q \
|
||||||
-E "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin" \
|
-E "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin" \
|
||||||
--register=no --keep-unit --as-pid2 \
|
--register=no --keep-unit --as-pid2 \
|
||||||
"${mount_args[@]}" \
|
"${mount_args[@]}" \
|
||||||
"$@"
|
/bin/bash -c 'exec </dev/console -- "$@"' bash "${1:-/bin/bash}" "${@:2}"
|
||||||
|
|
Loading…
Reference in New Issue