Created
March 14, 2011 09:32
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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