Installation FAI Server behind Proxy

c.monty at web.de c.monty at web.de
Fri May 19 17:55:44 CEST 2017


Hello!

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";

I can start installation of package "fai-quickstart" w/o issues.

However, when I run "fai-setup -v" the installation ends in this step:
Creating base.tar.xz
Classes are set to NFSROOT AMD64 DEBIAN DEBIAN_9
ainsl: appending to /srv/fai/nfsroot/etc/hosts: 10.19.90.164    vm5-fai.dhcp.wdf.sap.corp
'/etc/resolv.conf' -> '/srv/fai/nfsroot/etc/resolv.conf-installserver'
'/etc/resolv.conf' -> '/srv/fai/nfsroot/etc/resolv.conf'
Upgrading /srv/fai/nfsroot
Warning: apt-key output should not be parsed (stdout is not a terminal)
Err:1 http://fai-project.org/download stretch InRelease
  Could not connect to fai-project.org:80 (134.95.9.240), connection timed out
Err:2 http://security.debian.org/debian-security stretch/updates InRelease
  Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
Err:3 http://httpredir.debian.org/debian stretch InRelease
  Cannot initiate the connection to httpredir.debian.org:80 (2001:41c8:1000:21::21:4). - connect (101: Network is unreachable) [IP: 2001:41c8:1000:21::21:4 80]
Reading package lists...
W: Failed to fetch http://httpredir.debian.org/debian/dists/stretch/InRelease  Cannot initiate the connection to httpredir.debian.org:80 (2001:41c8:1000:21::21:4). - connect (101: Network is unreachable) [IP: 2001:41c8:1000:21::21:4 80]
W: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/InRelease  Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
W: Failed to fetch http://fai-project.org/download/dists/stretch/InRelease  Could not connect to fai-project.org:80 (134.95.9.240), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.


Obviously the installation tries to fetch packages from the internet, but it's not using a proxy and therefore fails.

How can I fix this issue?
Basically the question is about: how do I install FAI server behind a proxy?


THX


More information about the linux-fai mailing list