Skip to content

Instantly share code, notes, and snippets.

@bright-spark
Forked from eculver/replace_apt_sources.sh
Created April 9, 2016 20:29
Show Gist options
  • Save bright-spark/fea88ebc4d2610fd2db0f240ded41c5a to your computer and use it in GitHub Desktop.
Save bright-spark/fea88ebc4d2610fd2db0f240ded41c5a 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