your mail

Mike Gabriel mike.gabriel at
Sat Apr 11 00:35:54 CEST 2020

Hi Thomas,

On Fri, Apr 10, 2020 at 10:01:15AM +0000, Mike Gabriel via linux-fai wrote:
> Hi Thomas,
> here is another question. I want to create a 100% offline installer via FAI.
> The resulting system, though, shall have all sources.list files setup
> correctly, so that packages will get updated via http locations.
> Furthermore, the to-be-installed system will have these APT conf variables
> set:
> Acquire::http::Proxy "http://webcache:3128";
> Acquire::ftp::Proxy "http://webcache:3128";
> With fai-mirror, I have created a reprepro tree now containing (as it seems)
> all required packages.
> With fai-cd, I created an ISO images, containing that mirror. During
> installation, the mirror gets also mounted into the /target chroot (to
> /target/media/mirror).
> Also the sources.list file of the NFSROOT gets replaced by this:
> ```
> deb [trusted=yes] files:/media/mirror cskoeln non-free main contrib
> ```
> However, in the /target chroot, I only have the http package archives
> configured in /etc/apt/sources.list(.d)/*.list as found in my FAI config
> space. The configuration that states how the APT setup shall be after the
> installation has finished.
> However, this APT sources configuration is also already used during the FAI
> installation. I was expecting that these settings get overriden by APT using
> file:/media/mirror instead.
> So, what is the best approach to address this? Do I have to add a
> sources.list with file:/media/mirror manually to my FAI config space under
> files/, manually, (and disable all the others temporarily? Or am I missing
> some mechanism that on-the-fly adds file:/media/mirror as APT mirror inside
> the /target chroot?
> Thanks for any feedback provided!
> Mike

I have solved the above now by playing with sources.list in FAI config
space (by adding a OFFLINE_INSTALL class). This class adds the local
fai-mirror on the installation medium and cleans that up at the end of
the installation.



mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel at,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <>

More information about the linux-fai mailing list