Merge "infra-package-needs: fix haveged install for all CentOS releases"

This commit is contained in:
Zuul 2019-10-10 15:32:56 +00:00 committed by Gerrit Code Review
commit 4da3055368
1 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,7 @@ if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
fi
set -e
if [[ "$DISTRO_NAME" =~ (centos|rhel7) ]] ; then
yum -y install --enablerepo=epel haveged
if [[ "$DISTRO_NAME" == centos ]] ; then
# Note: $YUM exposed by centos environment, correct across releases
${YUM} -y install --enablerepo=epel haveged
fi