646da5b464
This patch updates the RHEL7 element to work properly now that it has changed from beta to release status. It includes a repo update to locate os-config rpms not in epel yet and an update to the latest cloud image name. Change-Id: I05607d62193c8f8fb1c1bece9872d456b19c5a08
24 lines
486 B
Bash
Executable File
24 lines
486 B
Bash
Executable File
#!/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
|