mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
nixos/test-driver: don't add QEMU_OPTS twice
As the TODO says, this is already included by the script. If adding a device, including this again here would result in either two devices being added, or, if they were explicitly named, an error due to reuse of the name.
This commit is contained in:
parent
23ff7d9dc4
commit
4491b9ec0d
@ -165,8 +165,6 @@ class StartCommand:
|
|||||||
)
|
)
|
||||||
if not allow_reboot:
|
if not allow_reboot:
|
||||||
qemu_opts += " -no-reboot"
|
qemu_opts += " -no-reboot"
|
||||||
# TODO: qemu script already catpures this env variable, legacy?
|
|
||||||
qemu_opts += " " + os.environ.get("QEMU_OPTS", "")
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
f"{self._cmd}"
|
f"{self._cmd}"
|
||||||
|
Loading…
Reference in New Issue
Block a user