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
1 changed files with 5 additions and 4 deletions

View File

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