1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 07:13:09 +00:00

Add VIDEOMODE option to boot a basic mode.

This commit is contained in:
Lukas Ruzicka 2023-09-19 10:52:44 +02:00
parent 0b6c451b3a
commit 073d21162c

View File

@ -198,10 +198,23 @@ sub boot_iso {
# The Grub menu should appear with "Test this media" as a default # The Grub menu should appear with "Test this media" as a default
# selection. However, we do not want to go with that because the # selection. However, we do not want to go with that because the
# check slows down the process. Therefore, we will move one step # check slows down the process. Therefore, we will move one step
# up and select to boot the installer without any testing. # up and select to boot the installer without any testing
send_key("up"); # However, if we are to use the BASIC graphics boot, we need
sleep(1); # to pass a different scenario.
send_key("ret"); if (get_var('VIDEOMODE') eq 'basic') {
send_key("down");
sleep(1);
send_key("ret");
sleep(1);
send_key("up");
sleep(1);
send_key("ret");
}
else {
send_key("up");
sleep(1);
send_key("ret");
}
} }
# This routine is similar to boot_iso but it uses different needles # This routine is similar to boot_iso but it uses different needles