]> git.proxmox.com Git - pve-installer.git/commitdiff
unconfigured: redirect TUI stderr output to tty2
authorChristoph Heiss <c.heiss@proxmox.com>
Wed, 21 Jun 2023 10:59:59 +0000 (12:59 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Jun 2023 11:15:19 +0000 (13:15 +0200)
Otherwise, if anything is printed there, black bars appear at the
current cursor position in the TUI until after a refresh.

Also aligns it more closely. Might also be useful in the future for the
TUI to log some things.

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
unconfigured.sh

index 9d3a01eba341fcc4ffa2ef33ca119434c127d446..ba9b9e33722df2d674eca9e171c0b8b322b6b0cc 100755 (executable)
@@ -212,7 +212,7 @@ setsid /sbin/agetty -a root --noclear tty3 &
 
 if [ $proxtui -ne 0 ]; then
     echo "Starting the TUI installer"
-    /usr/bin/proxmox-tui-installer
+    /usr/bin/proxmox-tui-installer 2>/dev/tty2
 else
     echo "Starting the installer GUI - see tty2 (CTRL+ALT+F2) for any errors..."
     xinit -- -dpi "$DPI" >/dev/tty2 2>&1