Fix openEuler mirror problem

openEuler yum mirror in Russia is down. This patch change the
rsync url to the official HongKong one.

This patch also fix the openEuler mirror url nit.

Change-Id: Ifb930e34fd7f16f77ba55bc489e5389c641139de
This commit is contained in:
wangxiyuan 2022-03-16 12:01:57 +08:00
parent 8a0a0040e3
commit a6a5988f8a

View File

@ -31,8 +31,9 @@ BASE="/afs/.openstack.org/mirror/openeuler"
K5START="k5start -t -f /etc/openeuler.keytab service/openeuler-mirror -- $TIMEOUT"
# Using a foreign mirror to rsync quickly.
# For a whole mirror list see https://openeuler.org/en/mirror/list/.
MIRROR="rsync://ru-repo.openeuler.org:30873/openeuler"
# 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-20.03-LTS-SP2"
for REPO in $REPOS; do