Merge "Adds EPEL repo, cleans up rhel7 repos"
This commit is contained in:
commit
b308c844ae
3 changed files with 7 additions and 23 deletions
2
elements/epel/README.md
Normal file
2
elements/epel/README.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
This element installs the Extra Packages for Enterprise Linux (EPEL)
|
||||
repository GPG key as well as configuration for yum.
|
5
elements/epel/pre-install.d/05-rpm-epel-release
Executable file
5
elements/epel/pre-install.d/05-rpm-epel-release
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
yum install -y http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-1.noarch.rpm
|
|
@ -1,23 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
cat << EOF > /etc/yum.repos.d/epel.repo
|
||||
[epel]
|
||||
name=epel
|
||||
failovermethod=priority
|
||||
baseurl=http://download-i2.fedoraproject.org/pub/epel/beta/7/x86_64/
|
||||
enabled=1
|
||||
metadata_expire=7d
|
||||
gpgcheck=0
|
||||
EOF
|
||||
|
||||
cat << EOF > /etc/yum.repos.d/bnemec-os-config.repo
|
||||
[bnemec-os-config]
|
||||
name=Copr repo for os-config owned by bnemec
|
||||
baseurl=http://copr-be.cloud.fedoraproject.org/results/bnemec/os-config/epel-7-x86_64/
|
||||
skip_if_unavailable=True
|
||||
gpgcheck=0
|
||||
enabled=1
|
||||
EOF
|
Loading…
Reference in a new issue