7c74084eca
Instead of manually creating epel.repo files, make use of the epel element, which will properly install epel-release. Change-Id: Iea7b389bc1ade716c622fd39d5e7dcf119dcb447
17 lines
263 B
Bash
Executable File
17 lines
263 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ "${DIB_DEBUG_TRACE:-0}" -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
cat << EOF > /etc/yum.repos.d/centos6-latest.repo
|
|
[rhel6]
|
|
name=centos6
|
|
baseurl=http://mirror.centos.org/centos/6/os/x86_64/
|
|
enabled=1
|
|
metadata_expire=7d
|
|
gpgcheck=0
|
|
EOF
|