From: Thomas Lamprecht Date: Fri, 24 Apr 2020 13:17:26 +0000 (+0200) Subject: unconfigured: make agetty listen on tty9 X-Git-Url: https://git.proxmox.com/?p=pve-installer.git;a=commitdiff_plain;h=aa0fe276f17473e49980e7a589b49d956b35c1a2 unconfigured: make agetty listen on tty9 it's a bit brittle and login is weird (enter root user twice, pw doesn't matters) and once exited it's gone, but it's just for "emergency debugging" anyway Signed-off-by: Thomas Lamprecht --- diff --git a/unconfigured.sh b/unconfigured.sh index 1d8cf7c..3bf5367 100755 --- a/unconfigured.sh +++ b/unconfigured.sh @@ -93,6 +93,7 @@ mkdir -p /dev/pts mount -vt devpts devpts /dev/pts -o gid=5,mode=620 if [ $proxdebug -ne 0 ]; then + /sbin/agetty -o '-p -- \\u' --noclear tty9 & echo "Dropping in debug shell inside chroot before starting installation" echo "type exit or CTRL-D to start installation wizard" debugsh