Skip to content

Instantly share code, notes, and snippets.

@random-robbie
Forked from eculver/replace_apt_sources.sh
Created November 10, 2015 15:39
Show Gist options
  • Save random-robbie/1c8b847c93ab599b4e8e to your computer and use it in GitHub Desktop.
Save random-robbie/1c8b847c93ab599b4e8e to your computer and use it in GitHub Desktop.
Replace default Ubuntu apt repository URLs w/ DigitalOcean's
sudo sed -i "s/archive\.ubuntu/mirrors.digitalocean/g" /etc/apt/sources.list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment