Last active
February 21, 2023 10:45
-
-
Save forketyfork/d977422404c8dabd1545dba693dc5afd to your computer and use it in GitHub Desktop.
CentOS 8 fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo sed -i -e "s|mirrorlist=|#mirrorlist=|g" /etc/yum.repos.d/CentOS-* | |
sudo sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment