mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
Add VIDEOMODE option to boot a basic mode.
This commit is contained in:
parent
0b6c451b3a
commit
073d21162c
15
lib/pikvm.pm
15
lib/pikvm.pm
@ -198,11 +198,24 @@ sub boot_iso {
|
||||
# The Grub menu should appear with "Test this media" as a default
|
||||
# selection. However, we do not want to go with that because the
|
||||
# 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
|
||||
# However, if we are to use the BASIC graphics boot, we need
|
||||
# to pass a different scenario.
|
||||
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
|
||||
# to identify the sources. Also, it will not send the extra key presses
|
||||
|
Loading…
Reference in New Issue
Block a user