Adding extra apt keys to clients

Darko Gavrilovic d.gavrilovic at gmail.com
Sat Dec 24 15:42:49 CET 2016


Thanks. I followed the examples and basically did away with my scripts
and just added it as an .asc file into /srv/fai/config/package_config



On Sat, Dec 24, 2016 at 3:20 AM, Steven Wend <steven.wend at t-online.de> wrote:
> 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