Enable EPEL mirror by default

We recently disabled EPEL in openstack-infra, enable it again.

Change-Id: I213b302b34b740354d63b69e8ac7f4e1b3d3cdd7
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
(cherry picked from commit bc4b8eb5bf)
This commit is contained in:
Paul Belanger 2017-04-13 15:06:36 -04:00
parent f6c35a814b
commit 5442534ab6
1 changed files with 4 additions and 0 deletions

View File

@ -347,6 +347,10 @@ SKIP_EPEL_INSTALL=$(trueorfalse False SKIP_EPEL_INSTALL)
# is pre-installed.
if [[ -f /etc/nodepool/provider ]]; then
SKIP_EPEL_INSTALL=True
if is_fedora; then
# However, EPEL is not enabled by default.
sudo yum-config-manager --enable epel
fi
fi
if is_fedora && [[ $DISTRO == "rhel7" ]] && \