[elbe-devel] Howto add a local apt-cacher to initvm?
ew.foe at nassur.net
ew.foe at nassur.net
Fri May 20 13:49:15 CEST 2022
Hi John,
Quoting John Ogness <john.ogness at linutronix.de>:
> Hi Erich,
>
> On 2022-05-20, ew.foe at nassur.net wrote:
>> I would like to advise initvm in such a way, that it would be using a
>> locally available apt-cacher-ng for downloads.
>
> I do these 2 things to achieve this:
>
> 1. Before doing any elbe commands, I export the "http_proxy" environment
> variable:
>
> export http_proxy="http://192.168.42.42:8888"
>
> 2. In the XML file for the target image I add the "primary_proxy"
> element (right after "primary_proto"):
>
> ...
> <primary_proto>http</primary_proto>
> + <primary_proxy>http://192.168.42.42:8888</primary_proxy>
> <url-list>
> ...
>
> John Ogness
Now, that sound's a lot simpler, I shall try this.
Thank you, have a nice weekend,
Erich
More information about the elbe-devel
mailing list