update the dib centos7 baseurl to use a mirrorlist

* replace baseurl with a centos mirrorlist
* fix typo in repoid

Change-Id: I028d1d7e9bf0b180ad73f750630adfbe41424512
This commit is contained in:
Wesley Hayutin 2015-04-10 21:30:42 -04:00 committed by wes hayutin
parent b0e809cbca
commit 7edf0f2a2d

View File

@ -7,9 +7,9 @@ set -eu
set -o pipefail
cat << EOF > /etc/yum.repos.d/centos7-latest.repo
[rhel7]
[centos7]
name=centos7
baseurl=http://buildlogs.centos.org/centos/7/os/x86_64-latest/
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=\$basearch&repo=os&infra=\$infra
enabled=1
metadata_expire=7d
gpgcheck=0