openEuler的镜像地址为:https://mirrors.huaweicloud.com/openeuler/
找一个版本进入到CPU架构目录,我这里是x86_64
替换baseurl 的网址
[openeuler]
name=openeuler
baseurl=https://mirrors.huaweicloud.com/openeuler/openEuler-20.03-LTS/OS/x86_64
enabled=1
gpgcheck=0
查看一下yum仓库
[root@ctyunos yum.repos.d]# yum repolist
repo id repo name
openeuler openeuler