Merge pull request #2836 from iskanred/bugfix/2835

fix(qemu): remove trailing space from RNG object argument
This commit is contained in:
Jeremy Grossmann 2026-07-27 20:42:29 +02:00 committed by GitHub
commit 9b1d7d44bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2107,7 +2107,7 @@ class QemuVM(BaseNode):
options.extend(["-drive", "if=pflash,format=raw,file={}".format(ovmf_vars_node_path)])
# edk2 firmware requires a Random Number Generator (RNG) device in order to turn network adapters on
options.extend(["-object", "rng-random,filename=/dev/urandom,id=rng0 "])
options.extend(["-object", "rng-random,filename=/dev/urandom,id=rng0"])
options.extend(["-device", "virtio-rng-pci,rng=rng0"])
return options