run_qemu.sh: use /dev/urandom as source for randomness
This commit is contained in:
parent
c20056d48f
commit
a4b070e4dc
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ qemu-img create -f qcow2 -b "$(realpath $cachedir)/debian-$DEFAULT_DIST.qcow" "$
|
|||
qemu-system-x86_64 \
|
||||
-no-user-config \
|
||||
-M accel=kvm:tcg -m 1G -nographic \
|
||||
-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0 \
|
||||
-monitor unix:/tmp/monitor,server,nowait \
|
||||
-serial unix:/tmp/ttyS0,server,nowait \
|
||||
-serial unix:/tmp/ttyS1,server,nowait \
|
||||
|
|
Loading…
Reference in a new issue