use base "installedtest"; use strict; use testapi; use utils; use pikvm; # This script downloads the preselected ISO image # and attaches it to the drive and starts the # target computer. sub run { my $self = shift; my $isolink = get_var("DOWNLOAD"); my $system = get_var("SUBVARIANT"); my $drive = get_var("USBDRIVE"); # Download the selectected ISO from the $isolink # and upload it to the PiKVM drive. upload_iso_file($isolink, $system); # Attach it to the PiKVM as $drive. attach_iso_file($system, $drive); # Switch output to mpeg select_stream("mpeg"); } sub test_flags { return {fatal => 1, milestone => 1}; } 1; # vim: set sw=4 et: