Skip to content

Instantly share code, notes, and snippets.

@jasherai
Created March 14, 2011 09:32
Show Gist options
  • Save jasherai/868941 to your computer and use it in GitHub Desktop.
Save jasherai/868941 to your computer and use it in GitHub Desktop.
quick script for configuring a vm with apt-cacher-ng with info for the host proxy when using virtualbox
#!/bin/sh
[ -f /etc/apt/apt.conf.d/01apt-cacher-ng-proxy ] || echo "Acquire::http { Proxy 'http://10.0.2.2:3142'; };" > /etc/apt/apt.conf.d/01apt-cacher-ng-proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment