diff --git a/playbooks/roles/mirror-update/files/centos-mirror-update b/playbooks/roles/mirror-update/files/centos-mirror-update index 96b61dd547..d61d456096 100755 --- a/playbooks/roles/mirror-update/files/centos-mirror-update +++ b/playbooks/roles/mirror-update/files/centos-mirror-update @@ -39,36 +39,13 @@ K5START="k5start -t -f /etc/centos.keytab service/centos-mirror -- $TIMEOUT" if [[ ${DRY_RUN:-0} -ne 1 ]]; then # Cleanup old repos - for REPO in 7 ; do + for REPO in 8-stream ; do if [ -d $BASE/$REPO/ ]; then $K5START rm -rf $BASE/$REPO/ fi done fi -# -# -- Centos 8-stream -- -# - -# Access request in https://pagure.io/centos-infra/issue/1354 -MIRROR=rsync://msync.centos.org/centos-full/centos/8-stream/ - -if ! [ -f $BASE/8-stream ]; then - $K5START mkdir -p $BASE/8-stream -fi -date --iso-8601=ns -echo "Running Centos 8-stream rsync..." -$K5START ${RSYNC} \ - --delete \ - --delete-excluded \ - --exclude="isos" \ - --exclude="images/" \ - --exclude="isolinux/" \ - --exclude="ppc64le*" \ - --exclude="*.i686.rpm" \ - --exclude=".*" \ - $MIRROR $BASE/8-stream - if [[ ${DRY_RUN:-0} -ne 1 ]]; then date --iso-8601=ns | $K5START tee $BASE/timestamp.txt echo "rsync completed successfully, running vos release."