tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixosTests.installer: Fix driverInteractive
Robert Hensing
2 years ago
faa1b3ba
218ef2f4
+6
-1
1 changed file
expand all
collapse all
unified
split
nixos
tests
installer.nix
+6
-1
nixos/tests/installer.nix
reviewed
···
88
88
89
89
qemu_flags = {"qemuFlags": assemble_qemu_flags()}
90
90
91
91
+
import os
92
92
+
93
93
+
image_dir = machine.state_dir
94
94
+
disk_image = os.path.join(image_dir, "machine.qcow2")
95
95
+
91
96
hd_flags = {
92
97
"hdaInterface": "${iface}",
93
93
-
"hda": "vm-state-machine/machine.qcow2",
98
98
+
"hda": disk_image,
94
99
}
95
100
${optionalString isEfi ''
96
101
hd_flags.update(