mkdir -p /etc/yum.repos.d/bak
mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/bak

cat > /etc/yum.repos.d/test.repo << EOF
[test]
name=test
baseurl=https://enterprise-c-packages.chinauos.com/server-enterprise-c/ufu/qianlai/2500/everything/\$basearch/os
enable=1
gpgcheck=0
EOF
