Adding extra apt keys to clients

Steven Wend steven.wend at t-online.de
Sat Dec 24 09:20:24 CET 2016


Hi Darko,

have a look inside the example configuration under
/usr/share/doc/fai-doc/examples/simple/ . There is an example how to add
another repository including the necessary crypto material based on a
FAI class.

Regards,
Steven

On 24.12.2016 03:13, Darko Gavrilovic wrote:
> Hello, I added the repo in apt.sources.d from my fai config files. But
> I am stuck on trying to add extra keys to  FAI clients.
> 
> I tried it two ways.
> 
> I tried the below and ran the client install and it did not seem to
> recognize the GP repo key.
> 
> wget -O - http://debian.saltstack.com/debian-salt-team-joehealy.gpg.key
> | chroot /srv/fai/nfsroot/ apt-key add -
> 
> I also tried it by by adding a line in
> 
> /srv/fai/config/scripts/HADOOP/10-misc
> 
> # add the apt key for salt
> $ROOTCMD wget -O -
> http://debian.saltstack.com/debian-salt-team-joehealy.gpg.key |
> apt-key add -
> 
> as the last task it does before reboot. and that didn't work either.
> 
> Is there a correct way to add this?
> 
> I am using FAI 4.3.1
> 
> dg
> 


More information about the linux-fai mailing list