Merge "Drop openEuler 20.03 LTS SP2 repo mirror"
This commit is contained in:
commit
4fc031ff48
@ -30,11 +30,18 @@ fi
|
|||||||
BASE="/afs/.openstack.org/mirror/openeuler"
|
BASE="/afs/.openstack.org/mirror/openeuler"
|
||||||
K5START="k5start -t -f /etc/openeuler.keytab service/openeuler-mirror -- $TIMEOUT"
|
K5START="k5start -t -f /etc/openeuler.keytab service/openeuler-mirror -- $TIMEOUT"
|
||||||
|
|
||||||
|
# Cleanup old repos
|
||||||
|
for REPO in openEuler-20.03-LTS-SP2 ; do
|
||||||
|
if [ -d $BASE/$REPO/ ]; then
|
||||||
|
$K5START rm -rf $BASE/$REPO/
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
# Using a foreign mirror to rsync quickly.
|
# Using a foreign mirror to rsync quickly.
|
||||||
# For a whole mirror list see https://www.openeuler.org/en/mirror/list/.
|
# For a whole mirror list see https://www.openeuler.org/en/mirror/list/.
|
||||||
# 119.8.63.103 is the openEuler official mirror in HongKong
|
# 119.8.63.103 is the openEuler official mirror in HongKong
|
||||||
MIRROR="rsync://119.8.63.103:873/openeuler"
|
MIRROR="rsync://119.8.63.103:873/openeuler"
|
||||||
REPOS="openEuler-20.03-LTS-SP2 openEuler-22.03-LTS"
|
REPOS="openEuler-22.03-LTS"
|
||||||
|
|
||||||
for REPO in $REPOS; do
|
for REPO in $REPOS; do
|
||||||
if ! [ -f $BASE/$REPO ]; then
|
if ! [ -f $BASE/$REPO ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user