[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-fai
Subject:    Re: Proxy configuration (apt) during client installation
From:       c2h5oh () web ! de
Date:       2014-11-16 14:29:54
Message-ID: xp6sdu.nf4yxy.1hge1d3-qmf () web ! de
[Download RAW message or body]



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@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 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic