centos/centos7: switch to epel element
Instead of manually creating epel.repo files, make use of the epel element, which will properly install epel-release. Change-Id: Iea7b389bc1ade716c622fd39d5e7dcf119dcb447
This commit is contained in:
parent
9fcb919dc7
commit
7c74084eca
@ -1,5 +1,6 @@
|
|||||||
cache-url
|
cache-url
|
||||||
dib-run-parts
|
dib-run-parts
|
||||||
|
epel
|
||||||
redhat-common
|
redhat-common
|
||||||
rpm-distro
|
rpm-distro
|
||||||
yum
|
yum
|
||||||
|
@ -14,12 +14,3 @@ enabled=1
|
|||||||
metadata_expire=7d
|
metadata_expire=7d
|
||||||
gpgcheck=0
|
gpgcheck=0
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat << EOF > /etc/yum.repos.d/epel.repo
|
|
||||||
[epel]
|
|
||||||
name=Extra Packages for Enterprise Linux 6 - \$basearch
|
|
||||||
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=\$basearch
|
|
||||||
failovermethod=priority
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=0
|
|
||||||
EOF
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
cache-url
|
cache-url
|
||||||
dib-run-parts
|
dib-run-parts
|
||||||
|
epel
|
||||||
redhat-common
|
redhat-common
|
||||||
rpm-distro
|
rpm-distro
|
||||||
source-repositories
|
source-repositories
|
||||||
|
@ -14,12 +14,3 @@ enabled=1
|
|||||||
metadata_expire=7d
|
metadata_expire=7d
|
||||||
gpgcheck=0
|
gpgcheck=0
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat << EOF > /etc/yum.repos.d/epel.repo
|
|
||||||
[epel]
|
|
||||||
name=Extra Packages for Enterprise Linux 7 - \$basearch
|
|
||||||
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=\$basearch
|
|
||||||
failovermethod=priority
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=0
|
|
||||||
EOF
|
|
||||||
|
Loading…
Reference in New Issue
Block a user