diff --git a/playbooks/roles/mirror-update/files/fedora-mirror-update b/playbooks/roles/mirror-update/files/fedora-mirror-update index e8b30a9311..40dd1afdc1 100755 --- a/playbooks/roles/mirror-update/files/fedora-mirror-update +++ b/playbooks/roles/mirror-update/files/fedora-mirror-update @@ -94,10 +94,12 @@ for REPO in updates/31 updates/32; do echo_ts "... done" done -MIRROR="rsync://pubmirror2.math.uh.edu/fedora-buffet/alt/atomic" +# Atomic is EOL but this particular image is used by magnum. We mirror +# only this specific version. +MIRROR="rsync://pubmirror2.math.uh.edu/fedora-buffet/alt/atomic/stable/Fedora-29-updates-20190820.0" -if ! [ -f $BASE/atomic ]; then - $K5START mkdir -p $BASE/atomic +if ! [ -f $BASE/atomic/stable/Fedora-29-updates-20190820.0 ]; then + $K5START mkdir -p $BASE/atomic/stable/Fedora-29-updates-20190820.0 fi echo_ts "Running rsync atomic..." @@ -106,10 +108,6 @@ $K5START rsync -rltvz \ --delete-excluded \ --exclude="testing/" \ --exclude="Atomic/" \ - --exclude="Fedora-Atomic-25-*/" \ - --exclude="Fedora-Atomic-26-*/" \ - --exclude="Fedora-Atomic-27-*/" \ - --exclude="Fedora-Atomic-28-*/" \ --exclude="ppc64le/" \ --exclude="images/*.raw.xz" \ --exclude="images/*.box" \ @@ -120,7 +118,7 @@ $K5START rsync -rltvz \ --exclude="os/EFI/BOOT/" \ --exclude="pxeboot/" \ --exclude="isolinux/" \ - $MIRROR/ $BASE/atomic/ + $MIRROR/ $BASE/atomic/stable/Fedora-29-updates-20190820.0/ echo_ts "... done" # TODO(pabelanger): Validate rsync process