Merge pull request #301799 from alyssais/QEMU_OPTS

nixos/test-driver: don't add QEMU_OPTS twice
This commit is contained in:
Jacek Galowicz 2024-04-05 14:56:09 +02:00 committed by GitHub
commit aaef13b238
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}"