FAI installation - problems with apt-https

René Bleisch accounts at climate.unibe.ch
Wed Aug 16 16:04:08 CEST 2017


Debootstrap was the right keyword. "debootstrap" is used by 
fai-make-nfsroot to create the basefile.
To add a package to the basefile, one has to add it to the 
"FAI_DEBOOTSTRAP_OPTS" variable in /etc/fai/nfsroot.conf,
where "--include=<pkg1>,<pkg2>,..." specifies packages to be installed 
during bootstrap:

FAI_DEBOOTSTRAP_OPTS="--exclude=info,wget 
--include=aptitude,apt-transport-https,ca-certificates"

Now apt-transport-https is installed to the basefile and 
https-repositories are no problem for apt anymore.

Regards
René

On 14.08.2017 15:06, fai-ml at lihas.de wrote:
> Hi,
>
> On Mon, Aug 14, 2017 at 11:42:11AM +0200, René Bleisch wrote:
>> => does someone have a FAI-setup where apt-https is working during
>> installations?
> yes, but we use debootstrap.
>> => is the nfsroot even the right place to add packages which should already be
>> installed before "task_softupdate" - like "apt-transport-https"? It just came
>> into my mind that I eventually made an error in reasoning and I should maybe
>> better add the package to the basefile...
> apt-transport-https and ca-certificates should be installed in your
> base.tgz
> base.tgz would be created by fai-make-nfsroot
> So, it's a right place for you.
> As a quickfix you can create a hook, that install apt-transport-https
> and ca-certificates bafore task_repository.
>
> Regards,
> Juri


More information about the linux-fai mailing list