[libvirt] [jenkins-ci PATCH] guests: Add RNG device when installing

Andrea Bolognani abologna at redhat.com
Tue Dec 18 16:16:37 UTC 2018


This is useful to the guest OS whenever entropy is needed,
including basic stuff like running the SSH server.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 guests/lcitool | 1 +
 1 file changed, 1 insertion(+)

diff --git a/guests/lcitool b/guests/lcitool
index 6b30ba9..f63122d 100755
--- a/guests/lcitool
+++ b/guests/lcitool
@@ -466,6 +466,7 @@ class Application:
                 "--graphics", "none",
                 "--console", "pty",
                 "--sound", "none",
+                "--rng", "device=/dev/urandom,model=virtio",
                 "--initrd-inject", initrd_inject,
                 "--extra-args", extra_arg,
                 "--wait", "0",
-- 
2.19.2




More information about the libvir-list mailing list