Skip to content

Instantly share code, notes, and snippets.

@neontorrent
Last active January 12, 2025 21:34
Show Gist options
  • Select an option

  • Save neontorrent/aa0ef3240404a86b3f9f25c8a68f6905 to your computer and use it in GitHub Desktop.

Select an option

Save neontorrent/aa0ef3240404a86b3f9f25c8a68f6905 to your computer and use it in GitHub Desktop.

Revisions

  1. neontorrent renamed this gist Jan 12, 2025. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. neontorrent created this gist Jan 12, 2025.
    3 changes: 3 additions & 0 deletions fix.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/CentOS-*.repo
    sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/CentOS-*.repo
    sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/CentOS-*.repo