Skip to content

Instantly share code, notes, and snippets.

@forketyfork
Last active February 21, 2023 10:45
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save forketyfork/d977422404c8dabd1545dba693dc5afd to your computer and use it in GitHub Desktop.
Save forketyfork/d977422404c8dabd1545dba693dc5afd to your computer and use it in GitHub Desktop.
CentOS 8 fix
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