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

Andrea Bolognani posted 1 patch 5 years, 4 months ago
Failed in applying to current master (apply log)
guests/lcitool | 1 +
1 file changed, 1 insertion(+)
[libvirt] [jenkins-ci PATCH] guests: Add RNG device when installing
Posted by Andrea Bolognani 5 years, 4 months ago
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@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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [jenkins-ci PATCH] guests: Add RNG device when installing
Posted by Daniel P. Berrangé 5 years, 4 months ago
On Tue, Dec 18, 2018 at 05:16:37PM +0100, Andrea Bolognani wrote:
> 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@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",

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list