Installation FAI Server behind Proxy
Christian Meyer
c2h5oh at web.de
Sat May 20 23:03:11 CEST 2017
Am Freitag, den 19.05.2017, 15:55 +0000 schrieb c.monty at web.de:
> I want to install FAI Server on VMWare.
> For network access I need to use a proxy.
>
> Therefore I have configured file /etc/apt/apt.conf.d/80HttpProxy accordingly:
> Acquire::http::Proxy "http://proxy:8080";
This file is for apt running on your FAI-server. So only apt uses it for
upgrading your fai-server.
> However, when I run "fai-setup -v" the installation ends in this step:
...
> Err:1 http://fai-project.org/download stretch InRelease
> Could not connect to fai-project.org:80 (134.95.9.240), connection timed out
> Obviously the installation tries to fetch packages from the internet, but it's not using a proxy and therefore fails.
> Basically the question is about: how do I install FAI server behind a proxy?
You want fai-setup to use your proxy. You must tell fai-setup to do so:
I'm using apt-cacher-ng on my fai-server (fai-server:3142) which is
configured to use my companys proxy (with the
file /etc/apt-cacher-ng/acng.conf).
Probably you have to modify my config.
These are the two files where you can put your [companys|acng]-proxy in:
1. /etc/fai/nfsroot.conf
# "<suite> <mirror>" for debootstrap
FAI_DEBOOTSTRAP="stretch
http://fai-server:3142/httpredir.debian.org/debian"
2. /etc/fai/apt/sources.list
deb http://httpredir.debian.org/debian stretch main contrib non-free
deb http://security.debian.org/debian-security stretch/updates main
contrib non-free
Good luck
Christian
More information about the linux-fai
mailing list