From 8032ea36be4a10f9b2f4ee06ffbf8fba12ede1e5 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 ebdeb1bb..e18aef2c 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