From c3fd611f2d3358cb869c5c8b33385d6564e21d87 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 4 Jul 2017 09:48:40 -0700 Subject: [PATCH] Finally revert anaconda root_console workaround RHBZ #1222413 was fixed long ago. This workaround is, I think, the cause of openQA failures to run commands properly with an extraneous '2' at the start of the command (e.g. 116864). --- lib/anacondatest.pm | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/anacondatest.pm b/lib/anacondatest.pm index 5f9a7e7b..a20193e7 100644 --- a/lib/anacondatest.pm +++ b/lib/anacondatest.pm @@ -62,16 +62,7 @@ sub root_console { my $self = shift; my %args = ( @_); - - if (get_var("LIVE")) { - send_key "ctrl-alt-f2"; - } - else { - # Working around RHBZ 1222413, no console on tty2 - send_key "ctrl-alt-f1"; - send_key "ctrl-b"; - send_key "2"; - } + send_key "ctrl-alt-f2"; console_login(user=>"root"); }