do not expect VNC vs Text Mode menu during text install

This commit is contained in:
Trevor Cooper 2021-10-27 09:00:46 -07:00
parent dc8f3b88f0
commit 697c9d3ef6

View File

@ -104,12 +104,21 @@ sub run {
unless (wait_serial "Installation") { die "Text version of Anaconda has not started."; }
}
else {
if (get_var("DISTRI") eq "rocky") {
# Rocky doesn't have network enabled at boot so we are not prompted
# for VNC...
# wait for text version of Anaconda main hub
assert_screen "anaconda_main_hub_text", 300;
}
else {
# Fedora has a use text mode menu here
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;
}
}
}
else {
# on lives, we have to explicitly launch anaconda
if (get_var('LIVE')) {