Skip to content

Commit a31619d

Browse files
authored
Merge pull request #43 from t2d/random
Give the VM a rng device by default to avoid entropy starvation
2 parents d77956d + e899c0b commit a31619d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/vm.xml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,6 @@
8686
<listen type='address' address='127.0.0.1'/>
8787
</graphics>
8888
{% endif %}
89+
<rng model="virtio"><backend model="random">/dev/urandom</backend></rng>
8990
</devices>
9091
</domain>

0 commit comments

Comments
 (0)