mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 13:33:08 +00:00
Add VIDEOMODE option to boot a basic mode.
This commit is contained in:
parent
0b6c451b3a
commit
073d21162c
21
lib/pikvm.pm
21
lib/pikvm.pm
@ -198,10 +198,23 @@ 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.
|
||||
send_key("up");
|
||||
sleep(1);
|
||||
send_key("ret");
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user