You could also prefix you rep with the apt-cacher URL like this :
http://10.0.0.1:3142/ftp.fr.debian.org/...
This the second method to use apt-cacher-ng.
However, It would be interesting to know how apt/deboostrap is invoked from
xen-tools and how to configure them more precisely.
2009/7/7 Keith Edmunds <kae_at_midnighthax.com>
> New to list, apologies if this has been asked before but I couldn't find a
> searchable archive of the mailing list, and this wasn't in the FAQs.
>
> We have a server running apt-cacher-ng on our LAN. When we build a new xen
> image with xen-create-image, is there a way to specify that the apt-proxy
> should be set to our apt-cacher-ng address? Once the system is built, we
> can put
> Acquire::http::Proxy "http://10.0.0.1:3142/";
>
> in /etc/apt/apt.conf, but it would be nice to be able to use
> apt-cacher-ng for the initial debootstrap build too.
>
> Thanks.
>
>
Received on Tue Jul 07 2009 - 22:44:33 BST