From 8ad130e14c5acb9e491b9448f16a690de8dc62c3 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 12 Mar 2021 13:54:36 -0500 Subject: [PATCH] Fix local console behavior in genesis This will have the vga console be less concerning. --- .../genesis/initramfs/opt/confluent/bin/rungenesis | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis b/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis index cd75bcfc..982dd6be 100644 --- a/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis +++ b/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis @@ -9,12 +9,13 @@ if ! grep console= /proc/cmdline >& /dev/null; then if [ ! -z "$autocons" ]; then echo "Using $(cat /tmp/01-autocons.conf)" tmux a <> $autocons >&0 2>&1 & + TERM=linux tmux a <> /dev/tty1 >&0 2>&1 & else tmux a <> /dev/console >&0 2>&1 & fi else tmux a <> /dev/console >&0 2>&1 & - tmux a <> /dev/tty1 >&0 2>&1 & + TERM=linux tmux a <> /dev/tty1 >&0 2>&1 & fi echo -n "udevd: " /usr/lib/systemd/systemd-udevd --daemon