Merge "Update openEuler mirror repo"

This commit is contained in:
Zuul 2024-12-03 18:33:49 +00:00 committed by Gerrit Code Review
commit f489f2dd70

View File

@ -33,7 +33,7 @@ BASE="/afs/.openstack.org/mirror/openeuler"
K5START="k5start -t -f /etc/openeuler.keytab service/openeuler-mirror -- $TIMEOUT"
# Cleanup old repos
for REPO in openEuler-20.03-LTS-SP2 ; do
for REPO in openEuler-22.03-LTS ; do
if [ -d $BASE/$REPO/ ]; then
$K5START rm -rf $BASE/$REPO/
fi
@ -43,7 +43,7 @@ done
# For a whole mirror list see https://www.openeuler.org/en/mirror/list/.
# 119.8.63.103 is the openEuler official mirror in HongKong
MIRROR="rsync://119.8.63.103:873/openeuler"
REPOS="openEuler-22.03-LTS"
REPOS="openEuler-24.03-LTS"
for REPO in $REPOS; do
if ! [ -f $BASE/$REPO ]; then