Use centos hosted mirror to sync CentOS content
Instead of using external public mirrors, the CentOS team is allowing openinfra to sync to the core repo mirrors which should provide a more reliable source for the repos [1]. In case of issues with the repos, the official way to contact CentOS team is via a ticket to the centos-infra tracker [2]. [1] https://pagure.io/centos-infra/issue/1354 [2] https://pagure.io/centos-infra/issues Change-Id: Iec8c664a35157de4527c2b83723f3947af959756
This commit is contained in:
parent
af14ca1aba
commit
7586728faf
@ -50,7 +50,8 @@ fi
|
||||
# -- Centos 8-stream --
|
||||
#
|
||||
|
||||
MIRROR=rsync://mirror.facebook.net/centos/8-stream/ # somewhere in US
|
||||
# Access request in https://pagure.io/centos-infra/issue/1354
|
||||
MIRROR=rsync://msync.centos.org/centos-full/centos/8-stream/
|
||||
|
||||
if ! [ -f $BASE/8-stream ]; then
|
||||
$K5START mkdir -p $BASE/8-stream
|
||||
@ -72,7 +73,7 @@ $K5START ${RSYNC} \
|
||||
# -- Centos 7 --
|
||||
#
|
||||
|
||||
MIRROR="rsync://mirror.facebook.net/centos/"
|
||||
MIRROR="rsync://msync.centos.org/centos-full/centos/"
|
||||
REPOS="7"
|
||||
|
||||
for REPO in $REPOS; do
|
||||
|
@ -41,7 +41,8 @@ K5START="k5start -t -f /etc/centos-stream.keytab service/centos-stream-mirror --
|
||||
# -- Centos 9-stream --
|
||||
#
|
||||
|
||||
MIRROR=rsync://mirror.rackspace.com/centos-stream/9-stream/ # somewhere in US
|
||||
# Access request in https://pagure.io/centos-infra/issue/1354
|
||||
MIRROR=rsync://rsync.stream.centos.org/centos-stream-full/9-stream/
|
||||
|
||||
if ! [ -f ${BASE}/9-stream ]; then
|
||||
$K5START mkdir -p ${BASE}/9-stream
|
||||
@ -65,7 +66,7 @@ $K5START ${RSYNC} \
|
||||
# -- Centos 9-stream SIGs --
|
||||
#
|
||||
|
||||
MIRROR=rsync://mirror.rackspace.com/centos-stream/SIGs/9-stream/ # somewhere in US
|
||||
MIRROR=rsync://rsync.stream.centos.org/centos-stream-full/SIGs/9-stream/
|
||||
|
||||
if ! [ -f ${BASE}/SIGs/9-stream ]; then
|
||||
$K5START mkdir -p ${BASE}/SIGs/9-stream
|
||||
|
Loading…
x
Reference in New Issue
Block a user