From 2d0efba03288b27157c1f5f6f703bf9010bde642 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Jun 22 2022 13:18:14 +0000 Subject: MM: switch to CentOS real primary mirror Signed-off-by: Adrian Reber --- diff --git a/roles/mirrormanager/backend/files/umdl-required b/roles/mirrormanager/backend/files/umdl-required index a57b042..f8863c2 100644 --- a/roles/mirrormanager/backend/files/umdl-required +++ b/roles/mirrormanager/backend/files/umdl-required @@ -46,7 +46,7 @@ else fi if [ "${1}" == "centos" ]; then - CENTOS_PRIMARY="mref1-priv.iad2.centos.org" + CENTOS_PRIMARY="master.centos.org" # check if a sync is currently in process CODE=$( curl -s -o /dev/null -I -w "%{http_code}" http://${CENTOS_PRIMARY}/9-stream/.sync_in_progress ) if [ "${CODE}" -eq "200" ]; then diff --git a/roles/mirrormanager/backend/templates/scan-primary-mirror-centos.toml b/roles/mirrormanager/backend/templates/scan-primary-mirror-centos.toml index 0ac3040..67a89b5 100644 --- a/roles/mirrormanager/backend/templates/scan-primary-mirror-centos.toml +++ b/roles/mirrormanager/backend/templates/scan-primary-mirror-centos.toml @@ -9,8 +9,8 @@ url="postgresql://{{ mirrormanager_db_user }}:{{ mirrormanager_db_pass }}@{{ mir [[category]] name="CentOS" type="rsync" -url="rsync://mref1-priv.iad2.centos.org/CentOS-Stream-Ref" -checksum_base="http://mref1-priv.iad2.centos.org/" +url="rsync://master.centos.org/CentOS-Stream-Ref" +checksum_base="http://master.centos.org/" [[repository_mapping]] regex="^\\d+(?:-stream)?/AppStream/"