Add CentOS 8 mirror
This adds mirroring of CentOS 8. It is somewhat simpler because the architecture we're interested in are in the base repos, no need for altarch. The current mirror doesn't have a 8/ directory; possibly they require their own mirroring filter updates? Use an up-to-date mirror for 8 (we can switch 7 too, but leaving alone for now). Additionally, the altarch mirror we are using appears to have gone offline for at least a few days. Switch to another one that is in Texas, which should be close-ish to the DFW servers. Change-Id: I33d95fa6b2df23fbfdb6745a3079761e228f677b
This commit is contained in:
parent
f50c7379f0
commit
d59e654936
@ -23,10 +23,31 @@ else
|
||||
fi
|
||||
|
||||
BASE="/afs/.openstack.org/mirror/centos"
|
||||
MIRROR="rsync://mirror.lstn.net/centos"
|
||||
MIRROR_ALTARCH="rsync://dallas.tx.mirror.xygenhosting.com/centos-altarch/"
|
||||
K5START="k5start -t -f /etc/centos.keytab service/centos-mirror -- $TIMEOUT"
|
||||
|
||||
#
|
||||
# -- Centos 8 --
|
||||
#
|
||||
|
||||
MIRROR=rsync://mirror.hackingand.coffee/centos/8/ # somewhere in TX
|
||||
|
||||
if ! [ -f $BASE/8 ]; then
|
||||
$K5START mkdir -p $BASE/8
|
||||
fi
|
||||
date --iso-8601=ns
|
||||
echo "Running Centos 8 rsync..."
|
||||
$K5START rsync -rptDvz \
|
||||
--delete \
|
||||
--delete-excluded \
|
||||
--exclude="isos" \
|
||||
$MIRROR $BASE/8
|
||||
|
||||
#
|
||||
# -- Centos 7 --
|
||||
#
|
||||
|
||||
MIRROR="rsync://mirror.lstn.net/centos"
|
||||
MIRROR_ALTARCH="rsync://mirror.dal.nexril.net/centos-altarch/"
|
||||
REPOS="7 altarch/7"
|
||||
ALTARCHS="aarch64 ppc64le"
|
||||
ALTARCHS_IGNORED="armhfp i386 power9 ppc64 x86_64" # altarch/kernel/ has x86_64 dir we do not want
|
||||
|
Loading…
x
Reference in New Issue
Block a user