From 698460123fe73d03a304df015c28e7a605fb4ac7 Mon Sep 17 00:00:00 2001 From: jknphy Date: Thu, 19 Sep 2024 14:02:36 +0200 Subject: [PATCH] Revert back to use tty7 as graphical for agama --- lib/susedistribution.pm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/susedistribution.pm b/lib/susedistribution.pm index 08273be1a89d..c4a3c14786c9 100644 --- a/lib/susedistribution.pm +++ b/lib/susedistribution.pm @@ -475,12 +475,7 @@ sub init_consoles { || is_svirt_except_s390x)) { $self->add_console('install-shell', 'tty-console', {tty => 2}); - if (get_var('AGAMA')) { - $self->add_console('installation', 'tty-console', {tty => 2}); - } - else { - $self->add_console('installation', 'tty-console', {tty => check_var('VIDEOMODE', 'text') ? 1 : 7}); - } + $self->add_console('installation', 'tty-console', {tty => check_var('VIDEOMODE', 'text') ? 1 : 7}); $self->add_console('install-shell2', 'tty-console', {tty => 9}); # On SLE15 X is running on tty2 see bsc#1054782 $self->add_console('root-console', 'tty-console', {tty => get_root_console_tty});