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:
Pino Toscano 2015-05-06 15:47:03 +02:00
parent 9fcb919dc7
commit 7c74084eca
4 changed files with 2 additions and 18 deletions

View File

@ -1,5 +1,6 @@
cache-url
dib-run-parts
epel
redhat-common
rpm-distro
yum

View File

@ -14,12 +14,3 @@ enabled=1
metadata_expire=7d
gpgcheck=0
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

View File

@ -1,5 +1,6 @@
cache-url
dib-run-parts
epel
redhat-common
rpm-distro
source-repositories

View File

@ -14,12 +14,3 @@ enabled=1
metadata_expire=7d
gpgcheck=0
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