Update fedora mirroring to pubmirror1.math.uh.edu

We've used this mirror for EPEL and don't have connection issues, lets
switch to it.

Change-Id: Ie6050fbf20259df39eab11f8e326d58351d98ea5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-03-14 16:29:17 -04:00
parent c1ed9e0684
commit 9b6ca4a2d7
No known key found for this signature in database
GPG Key ID: 611A80832067AF38

View File

@ -16,7 +16,10 @@
MIRROR_VOLUME=$1
BASE="/afs/.openstack.org/mirror/fedora"
MIRROR="rsync://mirrors.kernel.org"
# NOTE(pabelanger): #fedora-admin:
# tibbs | I run pubmirror[12].math.uh.edu.
# tibbs | It polls the masters every ten minutes.
MIRROR="rsync://pubmirror1.math.uh.edu/fedora-buffet/fedora/linux"
K5START="k5start -t -f /etc/fedora.keytab service/fedora-mirror -- timeout -k 2m 30m"
for REPO in releases/26 releases/27 ; do
@ -38,7 +41,7 @@ for REPO in releases/26 releases/27 ; do
--exclude="Server" \
--exclude="Spins" \
--exclude="Workstation" \
$MIRROR/fedora/$REPO/ $BASE/$REPO/
$MIRROR/$REPO/ $BASE/$REPO/
done
for REPO in updates/26 updates/27 ; do
@ -56,9 +59,11 @@ for REPO in updates/26 updates/27 ; do
--exclude="SRPMS/" \
--exclude="x86_64/debug" \
--exclude="x86_64/drpms" \
$MIRROR/fedora/$REPO/ $BASE/$REPO/
$MIRROR/$REPO/ $BASE/$REPO/
done
MIRROR="rsync://pubmirror1.math.uh.edu/fedora-buffet/alt/atomic"
if ! [ -f $BASE/atomic ]; then
$K5START mkdir -p $BASE/atomic
fi
@ -72,7 +77,7 @@ $K5START rsync -rltDvz \
--exclude="Atomic/" \
--exclude="CloudImages/x86_64/images/*.raw.xz" \
--exclude="CloudImages/x86_64/images/*.box" \
$MIRROR/fedora-alt/atomic/ $BASE/atomic/
$MIRROR/ $BASE/atomic/
# TODO(pabelanger): Validate rsync process