On Mon, Jan 19, 2009 at 10:18:45AM -0800, Vagrant Cascadian wrote: > On Fri, Jan 09, 2009 at 09:53:06PM -0500, Rob Owens wrote: > > when the installer asks for my proxy information. This gets put into > > /etc/apt/apt.conf like this: > > > > Acquire::http::Proxy "http://myproxy:3142"; > > > > Then when any of my systems need to download new packages, they check the > > proxy first and go to the internet only if a current package is not > > available from the proxy. > > > > > > Anyway, I'd like to be able to do use the proxy when I'm building the > > chroot environment. Something like this: > > > > ltsp-build-client --proxy http://myproxy:3142 > > committed to the Debian plugins: > > > http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ltsp-trunk/annotate/head%3A/server/plugins/ltsp-build-client/Debian/010-http-proxy > > should work on older versions too, just drop the file into > /usr/share/ltsp/plugins/ltsp-build-client/Debian (or > /etc/ltsp/plugins/ltsp-build-client). > > you can use --http-proxy to specify it from the commandline, or it will > autodetect it from your /etc/apt/apt.conf* settings. --no-guess-proxy > will disable autodetection. > That worked great! I like the autodetect feature.
A few notes: 1) My lenny installation doesn't have /etc/ltsp/plugins (I imagine it would be a symlink to /usr/share/ltsp/plugins, but it's not there) 2) I put my proxy information in /etc/apt/apt.conf, because that's where the installer puts it. Some people create /etc/apt/apt.conf.d/01proxy, and put their proxy information in there. I tested both methods with the autodetect feature, and both worked. 3) I removed my proxy information from apt.conf* and used the --http-proxy option. That worked as well. This gives me 3-minute client builds if all the needed files are already cached. That's awesome. Thanks for your work! -Rob ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net
