Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bullshit/f7bcaf239546b77c299de653dc3cf966 to your computer and use it in GitHub Desktop.
Save bullshit/f7bcaf239546b77c299de653dc3cf966 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