1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-24 23:03:08 +00:00

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).
This commit is contained in:
Adam Williamson 2017-07-04 09:48:40 -07:00
parent b1fc7eaecc
commit c3fd611f2d

View File

@ -62,16 +62,7 @@ sub root_console {
my $self = shift; my $self = shift;
my %args = ( my %args = (
@_); @_);
send_key "ctrl-alt-f2";
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";
}
console_login(user=>"root"); console_login(user=>"root");
} }