do not expect VNC vs Text Mode menu during text install
This commit is contained in:
parent
dc8f3b88f0
commit
697c9d3ef6
@ -104,12 +104,21 @@ 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 {
|
||||||
|
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;
|
assert_screen "anaconda_use_text_mode", 300;
|
||||||
type_string "2\n";
|
type_string "2\n";
|
||||||
# wait for text version of Anaconda main hub
|
# wait for text version of Anaconda main hub
|
||||||
assert_screen "anaconda_main_hub_text", 300;
|
assert_screen "anaconda_main_hub_text", 300;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
# on lives, we have to explicitly launch anaconda
|
# on lives, we have to explicitly launch anaconda
|
||||||
if (get_var('LIVE')) {
|
if (get_var('LIVE')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user