mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-05 15:34:22 +00:00
Handle VNC question disappearing in serial mode too
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
8028586183
commit
c68c215489
@ -127,9 +127,12 @@ sub run {
|
||||
# we direct the installer to virtio-console1, and use
|
||||
# virtio-console as a root console
|
||||
select_console('user-virtio-console');
|
||||
unless (wait_serial "Use text mode", timeout => 120) { die "Anaconda has not started."; }
|
||||
type_string "2\n";
|
||||
unless (wait_serial "Installation") { die "Text version of Anaconda has not started."; }
|
||||
my $match = wait_serial ["Use text mode", "Installation"], timeout => 120;
|
||||
die "Anaconda has not started." unless ($match);
|
||||
if ($match =~ m/Use text mode/) {
|
||||
type_string "2\n";
|
||||
die "Text version of Anaconda has not started." unless (wait_serial "Installation");
|
||||
}
|
||||
}
|
||||
else {
|
||||
assert_screen ["anaconda_use_text_mode", "anaconda_main_hub_text"], 300;
|
||||
|
Loading…
Reference in New Issue
Block a user