Error in phase DEBIAN/40-misc and GRUB_PC/10-setup
c.monty at web.de
c.monty at web.de
Tue Sep 19 17:23:52 CEST 2017
19. September 2017 17:10, "Thomas Lange" <lange at informatik.uni-koeln.de> schrieb:
>> On Tue, 19 Sep 2017 15:03:30 +0000, c.monty at web.de said:
>
>> Where is the configuration to use apt-cacher-ng (which is intended) stored?
>> demohost should use faiserver:3142 and not localhost:3142
> Have a look at examples/simple/class/DEBIAN.var
> and do not modify the nfsroot manually if not needed.
>
> --
> regards Thomas
Searching for ":3142" I found the relevant files in /srv:
root at vm03-fai:/var/log/fai/# ack :3142 /srv/
/srv/fai/config/scripts/FAISERVER/10-conffiles
18: ainsl -av /etc/apt/apt.conf.d/02proxy 'Acquire::http::Proxy "http://127.0.0.1:3142";'
/srv/fai/config/files/etc/rc.local/FAISERVER
37: echo "APTPROXY=http://$myip:3142" >> /srv/fai/config/class/DEBIAN.var
44:curl -fs 'http://127.0.0.1:3142/acng-report.html?doImport=Start+Import&calcSize=cs&asNeeded=an#bottom' >/dev/null
47:export APTPROXY="http://127.0.0.1:3142"
/srv/fai/config/class/DEBIAN.var
15:#APTPROXY=http://faiserver:3142
/srv/fai/nfsroot/etc/apt/apt.conf.d/00proxy
2:Acquire::http { Proxy "http://faiserver:3142"; };
3:#Acquire::https { Proxy "https:/faiserver:3142"; };
I will now modify /srv/fai/config/class/DEBIAN.var my means of entering the apt-cacher-ng configuration.
Because the intention is that demohost should use apt-cacher-ng running on faiserver.
More information about the linux-fai
mailing list