Mirror the only Fedora Atomic image used by Magnum
There is a single Fedora Atomic image used by Magnum at this point that we mirror. Lets mirror just that one image and then we can manually rm the others. Change-Id: I669247beb64bae41afddd0edce02c0b58e45aa6c
This commit is contained in:
parent
9f95c450cb
commit
4641c1c00e
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user