Adding extra apt keys to clients

Darko Gavrilovic d.gavrilovic at gmail.com
Sat Dec 24 03:13:08 CET 2016


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