diff --git a/playbooks/roles/mirror-update/files/centos-stream-mirror-update b/playbooks/roles/mirror-update/files/centos-stream-mirror-update index 78ef4a1793..915386c42e 100755 --- a/playbooks/roles/mirror-update/files/centos-stream-mirror-update +++ b/playbooks/roles/mirror-update/files/centos-stream-mirror-update @@ -41,7 +41,7 @@ K5START="k5start -t -f /etc/centos-stream.keytab service/centos-stream-mirror -- MIRROR=rsync://mirror.facebook.net/centos-stream/9-stream/ # somewhere in US -if ! [ -f ${BASE_STREAM}/9-stream ]; then +if ! [ -f ${BASE}/9-stream ]; then $K5START mkdir -p ${BASE}/9-stream fi date --iso-8601=ns @@ -56,6 +56,31 @@ $K5START ${RSYNC} \ --exclude="ppc64le" \ $MIRROR ${BASE}/9-stream +# +# -- Centos 9-stream SIGs -- +# + +MIRROR=rsync://mirror.facebook.net/centos-stream/SIGs/9-stream/ # somewhere in US + +if ! [ -f ${BASE}/SIGs/9-stream ]; then + $K5START mkdir -p ${BASE}/SIGs/9-stream +fi +date --iso-8601=ns +echo "Running Centos 9-stream SIGs rsync..." +$K5START ${RSYNC} \ + --delete \ + --delete-excluded \ + --exclude="iso" \ + --exclude="debug" \ + --exclude="s390x" \ + --exclude="source" \ + --exclude="ppc64le" \ + --exclude="hyperscale" \ + --exclude="infra" \ + --exclude="kmods" \ + --exclude="virt" \ + $MIRROR ${BASE}/SIGs/9-stream + if [[ ${DRY_RUN:-0} -ne 1 ]]; then date --iso-8601=ns | $K5START tee $BASE/timestamp.txt echo "rsync completed successfully, running vos release."