diff options
author | Robert Hensing <robert@roberthensing.nl> | 2023-07-07 17:32:03 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2023-07-07 19:00:05 +0200 |
commit | faa1b3babcd338bf1a67486071b71e9514b86060 (patch) | |
tree | 4741f02141e7d58ad97e06e67ba7f24f1e4bba4e /nixos/tests/installer.nix | |
parent | 218ef2f4059f7b031f93cd4ac3fab9a3faf81b8b (diff) | |
download | nixpkgs-faa1b3babcd338bf1a67486071b71e9514b86060.tar nixpkgs-faa1b3babcd338bf1a67486071b71e9514b86060.tar.gz nixpkgs-faa1b3babcd338bf1a67486071b71e9514b86060.tar.bz2 nixpkgs-faa1b3babcd338bf1a67486071b71e9514b86060.tar.lz nixpkgs-faa1b3babcd338bf1a67486071b71e9514b86060.tar.xz nixpkgs-faa1b3babcd338bf1a67486071b71e9514b86060.tar.zst nixpkgs-faa1b3babcd338bf1a67486071b71e9514b86060.zip |
nixosTests.installer: Fix driverInteractive
Diffstat (limited to 'nixos/tests/installer.nix')
-rw-r--r-- | nixos/tests/installer.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index c800299db11..7ba64602d76 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( |