Forked from forketyfork/gist:d977422404c8dabd1545dba693dc5afd
Created
February 10, 2022 14:54
-
-
Save bullshit/f7bcaf239546b77c299de653dc3cf966 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