I use a proxy for apt on my systems.  It's called apt-cacher-ng.  It creates a 
local debian and ubuntu repository based on all the packages that my network 
downloads.  During a system installation, when apt is being configured I 
specify: 

http://myproxy:3142

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

I can currently use this workaround, but it's kind of messy and a lot of 
typing, even if it does get the job done:

ltsp-build-client --mirror http://myproxy:3142/ftp.us.debian.org lenny main 
--security-mirror http://myproxy:3142/security.debian.org lenny/updates main

Using the proxy makes chroot builds go very quick.  It's especially useful if 
you're doing a lot of experimenting and need to build your chroot over and over.

I realize it's not a very important feature to add, but if it's an easy one I 
sure would appreciate it being added. 

-Rob

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_____________________________________________________________________
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

Reply via email to