Merge "Enable EPEL mirror by default"

This commit is contained in:
Jenkins 2017-04-18 18:14:17 +00:00 committed by Gerrit Code Review
commit 487777f5c7

View File

@ -348,6 +348,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" ]] && \