腾讯云
Bash
rpm -e qemu-guest-agent
sudo sed -i 's|mirrors.tencentyun.com|mirrors.tuna.tsinghua.edu.cn|g' /etc/yum.repos.d/CentOS-*.repo
sudo sed -i 's|$releasever|8-stream|g' /etc/yum.repos.d/CentOS-*.repo
rm -f CentOS-Epel.repo CentOS-Extras.repo CentOS-HA.repo CentOS-PowerTools.repo CentOS-Devel.repo
rm -f /etc/pki/rpm-gpg/RPM-GPG-KEY-Qcloud-8
dnf update