Applicable to:
- SolusVM
- SolusVM 2
Question
How to update CentOS 7 repositories after OS EOL ?
Answer
Create repos backup and run the following commands which will replace the broken links:
# sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/CentOS-*
# sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/CentOS-*
# sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/CentOS-*
Comments
Please sign in to leave a comment.