arch-nspawn: Hack to give the inner process a controlling terminal

This was lost at some point.
This commit is contained in:
Jan Alexander Steffens (heftig) 2017-09-13 00:08:30 +02:00
parent cd500d161f
commit 6a7dcdeff9
No known key found for this signature in database
GPG Key ID: A5E9288C4FA415FA
1 changed files with 1 additions and 1 deletions

View File

@ -116,4 +116,4 @@ exec ${CARCH:+setarch "$CARCH"} systemd-nspawn -q \
-E "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin" \
--register=no --keep-unit --as-pid2 \
"${mount_args[@]}" \
"$@"
/bin/bash -c 'exec </dev/console -- "$@"' bash "${1:-/bin/bash}" "${@:2}"