1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 13:33:08 +00:00

text mode: handle the "use VNC instead?" question going away

Intentionally or not, a recent anaconda change made it so the
"text mode sucks, use VNC instead?" question is no longer ever
shown - https://bugzilla.redhat.com/show_bug.cgi?id=2293672 .
So, we should handle the flow where we just go straight to the
hub. If they decide this was intentional and kill the question
for good we can drop the path that handles it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-06-21 09:15:01 -07:00
parent 5467da23b5
commit 8028586183

View File

@ -132,10 +132,11 @@ sub run {
unless (wait_serial "Installation") { die "Text version of Anaconda has not started."; } unless (wait_serial "Installation") { die "Text version of Anaconda has not started."; }
} }
else { else {
assert_screen "anaconda_use_text_mode", 300; assert_screen ["anaconda_use_text_mode", "anaconda_main_hub_text"], 300;
type_string "2\n"; if (match_has_tag "anaconda_use_text_mode") {
# wait for text version of Anaconda main hub type_string "2\n";
assert_screen "anaconda_main_hub_text", 300; assert_screen "anaconda_main_hub_text", 60;
}
} }
} }
else { else {