Merge "Install epel-release from URL"
This commit is contained in:
commit
c3243be696
@ -15,7 +15,9 @@ if [[ ${DISTRO_NAME} =~ (centos|rhel) && ${DIB_RELEASE} == 7 ]]; then
|
|||||||
# "install this from EPEL". So we hack in an install of it here
|
# "install this from EPEL". So we hack in an install of it here
|
||||||
# from EPEL. Nothing else should have installed EPEL at this
|
# from EPEL. Nothing else should have installed EPEL at this
|
||||||
# early stage.
|
# early stage.
|
||||||
yum install -y python3 epel-release
|
yum install -y python3
|
||||||
|
# NOTE(dpawlik) The epel-release package is not available in RHEL.
|
||||||
|
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
||||||
yum install -y python36-PyYAML
|
yum install -y python36-PyYAML
|
||||||
yum remove -y epel-release
|
yum remove -y epel-release
|
||||||
elif [[ ${DISTRO_NAME} =~ (centos|rhel) && ${DIB_RELEASE} > 7 ]]; then
|
elif [[ ${DISTRO_NAME} =~ (centos|rhel) && ${DIB_RELEASE} > 7 ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user