nixos: test: add tests for booting installation iso in various ways

This commit is contained in:
Bob van der Linden
2014-11-19 23:18:44 +01:00
committed by Vladimír Čunát
parent 9ff9949896
commit c57a912016
3 changed files with 71 additions and 0 deletions

View File

@@ -37,6 +37,10 @@ sub new {
if defined $args->{hda};
$startCommand .= "-cdrom $args->{cdrom} "
if defined $args->{cdrom};
$startCommand .= "-device piix3-usb-uhci -drive id=usbdisk,file=$args->{usb},if=none,readonly -device usb-storage,drive=usbdisk "
if defined $args->{usb};
$startCommand .= "-bios $args->{bios} "
if defined $args->{bios};
$startCommand .= $args->{qemuFlags} || "";
} else {
$startCommand = Cwd::abs_path $startCommand;