1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-24 14:53:09 +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;
if (match_has_tag "anaconda_use_text_mode") {
type_string "2\n"; type_string "2\n";
# wait for text version of Anaconda main hub assert_screen "anaconda_main_hub_text", 60;
assert_screen "anaconda_main_hub_text", 300; }
} }
} }
else { else {