mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-24 11:52:23 +03:00
Merge pull request #2836 from iskanred/bugfix/2835
fix(qemu): remove trailing space from RNG object argument
This commit is contained in:
commit
9b1d7d44bf
@ -2107,7 +2107,7 @@ class QemuVM(BaseNode):
|
|||||||
options.extend(["-drive", "if=pflash,format=raw,file={}".format(ovmf_vars_node_path)])
|
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
|
# 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"])
|
options.extend(["-device", "virtio-rng-pci,rng=rng0"])
|
||||||
return options
|
return options
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user