From faa1b3babcd338bf1a67486071b71e9514b86060 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Fri, 7 Jul 2023 17:32:03 +0200 Subject: [PATCH] nixosTests.installer: Fix driverInteractive --- nixos/tests/installer.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index c800299db115..7ba64602d76c 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -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(