Merge "Mirror the only Fedora Atomic image used by Magnum"
This commit is contained in:
commit
eb263527ea
@ -102,10 +102,12 @@ for REPO in updates/31 updates/32; do
|
|||||||
echo_ts "... done"
|
echo_ts "... done"
|
||||||
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
|
if ! [ -f $BASE/atomic/stable/Fedora-29-updates-20190820.0 ]; then
|
||||||
$K5START mkdir -p $BASE/atomic
|
$K5START mkdir -p $BASE/atomic/stable/Fedora-29-updates-20190820.0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo_ts "Running rsync atomic..."
|
echo_ts "Running rsync atomic..."
|
||||||
@ -114,10 +116,6 @@ $K5START rsync -rltvz \
|
|||||||
--delete-excluded \
|
--delete-excluded \
|
||||||
--exclude="testing/" \
|
--exclude="testing/" \
|
||||||
--exclude="Atomic/" \
|
--exclude="Atomic/" \
|
||||||
--exclude="Fedora-Atomic-25-*/" \
|
|
||||||
--exclude="Fedora-Atomic-26-*/" \
|
|
||||||
--exclude="Fedora-Atomic-27-*/" \
|
|
||||||
--exclude="Fedora-Atomic-28-*/" \
|
|
||||||
--exclude="ppc64le/" \
|
--exclude="ppc64le/" \
|
||||||
--exclude="images/*.raw.xz" \
|
--exclude="images/*.raw.xz" \
|
||||||
--exclude="images/*.box" \
|
--exclude="images/*.box" \
|
||||||
@ -128,7 +126,7 @@ $K5START rsync -rltvz \
|
|||||||
--exclude="os/EFI/BOOT/" \
|
--exclude="os/EFI/BOOT/" \
|
||||||
--exclude="pxeboot/" \
|
--exclude="pxeboot/" \
|
||||||
--exclude="isolinux/" \
|
--exclude="isolinux/" \
|
||||||
$MIRROR/ $BASE/atomic/
|
$MIRROR/ $BASE/atomic/stable/Fedora-29-updates-20190820.0/
|
||||||
echo_ts "... done"
|
echo_ts "... done"
|
||||||
# TODO(pabelanger): Validate rsync process
|
# TODO(pabelanger): Validate rsync process
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user