From 7258b7506f51f6863e5fbe5de178636fb246c831 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 21 Oct 2016 12:01:00 +0200 Subject: Attach a VirtIO RNG to the guest (and don't install haveged). To avoid starving the host's RNG we also limit throughput to 512 bytes/s. --- tdfvm-install | 1 + 1 file changed, 1 insertion(+) (limited to 'tdfvm-install') diff --git a/tdfvm-install b/tdfvm-install index 49190c1..54a0e63 100755 --- a/tdfvm-install +++ b/tdfvm-install @@ -236,6 +236,7 @@ virt-install -q --connect "$LIBVIRT_URI" \ --disk "path=$VMTMPDIR/install.iso,device=cdrom,bus=sata,readonly=on" \ --disk "$DISK,bus=virtio" \ --channel "unix,target_type=virtio,name=org.qemu.guest_agent.0" \ + --rng "random,device=/dev/random,model=virtio,rate_bytes=512" \ --filesystem "source=$VMTMPDIR/virtfs,target=virtfs" \ --network "$NETWORK" \ --graphics "$GRAPHICS" \ -- cgit v1.2.3