From f6f1b765394328b0c220725e00c5c837ff97baa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gonz=C3=A1lez?= Date: Fri, 27 Mar 2020 11:21:33 +0100 Subject: [PATCH] F #4089: Add haveged to ensure entropy (#4440) --- src/datastore_mad/remotes/docker_downloader.sh | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/datastore_mad/remotes/docker_downloader.sh b/src/datastore_mad/remotes/docker_downloader.sh index c3bc74c672..865f9f4626 100755 --- a/src/datastore_mad/remotes/docker_downloader.sh +++ b/src/datastore_mad/remotes/docker_downloader.sh @@ -164,11 +164,13 @@ RUN apt-get update && apt-get install -y \ systemd \ udev \ vim-tiny \ - wget + wget \ + haveged RUN apt-get install -y /root/context.deb RUN rm /root/context.deb RUN apt-get clean && \ rm -rf /var/lib/apt/lists/* +RUN systemctl enable haveged EOC ) ;; @@ -179,11 +181,13 @@ centos|redhat) commands=$(cat <> /etc/inittab