From 7edf0f2a2d10a93570af82929fd93c718d4d731e Mon Sep 17 00:00:00 2001 From: Wesley Hayutin Date: Fri, 10 Apr 2015 21:30:42 -0400 Subject: [PATCH] update the dib centos7 baseurl to use a mirrorlist * replace baseurl with a centos mirrorlist * fix typo in repoid Change-Id: I028d1d7e9bf0b180ad73f750630adfbe41424512 --- elements/centos7/pre-install.d/01-yum-repos | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elements/centos7/pre-install.d/01-yum-repos b/elements/centos7/pre-install.d/01-yum-repos index 4b0ab4f7..1ec03dd1 100755 --- a/elements/centos7/pre-install.d/01-yum-repos +++ b/elements/centos7/pre-install.d/01-yum-repos @@ -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