Proxy configuration (apt) during client installation
c2h5oh at web.de
c2h5oh at web.de
Sun Nov 16 15:29:54 CET 2014
Am So. Nov. 16 14:09:11 2014 GMT+0100 schrieb Thomas Lange:
> >>>>> On Sun, 16 Nov 2014 13:48:00 +0100, Christian Meyer <c2h5oh at web.de> said:
>
> > is it possible to configure an apt proxy during client installation?
> Hi Christian,
>
> yes this is possible. If you install a new machine (no matter if it
> becomes the server or a client) a hook is called:
> hooks/updatebase.DEBIAN
> Inside this script the variable $APTPROXY is used (which can be set in
> class/*.var) for setting up the proxy inside /target
Wow, thanks a lot. That is great! Sorry that I didn't find it myself in the documentation.
> > Is there a way to change the NFSROOT/etc/apt/apt.conf.d/00proxy (which
> > lives on FAI-CD) during initial CD installation of the server?
> Yes, set $APTPROXY in you ocnfig space in class/*.var. Then is will be
> used during installation. You may want to remove
> $target/etc/apt/apt.conf.d/02proxy at the end of the installation.
Thanks for this hint. After installing apt-cacher-ng on the fai-server the server itself could use acng, too. Great!
Before submitting my FAI user experience there is still some (a lot?) work to do for me. But I'm getting closer :)
Christian
More information about the linux-fai
mailing list