Merge "Enable EPEL mirror by default" into stable/ocata

This commit is contained in:
Jenkins 2017-04-28 06:43:57 +00:00 committed by Gerrit Code Review
commit ad99d28f0f
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" ]] && \