1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

nixosTests.installer: Fix driverInteractive

This commit is contained in:
Robert Hensing 2023-07-07 17:32:03 +02:00
parent 218ef2f405
commit faa1b3babc

View file

@ -88,9 +88,14 @@ let
qemu_flags = {"qemuFlags": assemble_qemu_flags()}
import os
image_dir = machine.state_dir
disk_image = os.path.join(image_dir, "machine.qcow2")
hd_flags = {
"hdaInterface": "${iface}",
"hda": "vm-state-machine/machine.qcow2",
"hda": disk_image,
}
${optionalString isEfi ''
hd_flags.update(