Browse Source

Install rng-tools in Red Hat family distro images

Make sure rngd, a hardware RNG entropy gatherer daemon, is installed on
all DIB-built Red Hat family distro images. rngd comes installed by
default in a typical base installation as it's proven to help speed
things up.

Nova attaches the virtio-rng-pci device to VMs. virtio-rng-pci is a
device that provides feed random data. However, it is of little to no
use if the virtual machine is not configured to make use of given
device. That is where rngd can help by facilitating entropy to the pool
from virtio-rng-pci.

$ openstack image set --property hw_rng_model=virtio [...]
$ openstack flavor set --property hw_rng:allowed=True [...]

DIB-built minimal images do not come with rngd installed. This patch
makes sure the daemon is installed. Its systemd service comes already
enabled.

Change-Id: I34a989dbfc57d4c98113ac25c81dfb500945ff0a
tags/2.33.0
Carlos Goncalves 4 months ago
parent
commit
3ff7365ee8
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      diskimage_builder/elements/redhat-common/package-installs.yaml

+ 1
- 0
diskimage_builder/elements/redhat-common/package-installs.yaml View File

@@ -14,3 +14,4 @@ selinux-policy-targeted:
libselinux-python:
policycoreutils:
policycoreutils-python:
rng-tools:

Loading…
Cancel
Save