Skip to content

Instantly share code, notes, and snippets.

@ndoo
Created July 2, 2021 00:50
Show Gist options
  • Save ndoo/691b0bde7d55eb59cd746f068c218db3 to your computer and use it in GitHub Desktop.
Save ndoo/691b0bde7d55eb59cd746f068c218db3 to your computer and use it in GitHub Desktop.
Fedora to mirror.0x.sg
sudo sed -i 's+^#baseurl+baseurl+g' /etc/yum.repos.d/fedora*.repo
sudo sed -i 's+^metalink+#metalink+g' /etc/yum.repos.d/fedora*.repo
sudo sed -i 's/download.example\/pub/mirror.0x.sg/g' /etc/yum.repos.d/fedora*.repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment