From steffen.grunewald at aei.mpg.de Thu Dec 1 13:09:21 2016 From: steffen.grunewald at aei.mpg.de (Steffen Grunewald) Date: Thu, 1 Dec 2016 13:09:21 +0100 Subject: add debconf lines to existing setup? Message-ID: <20161201120920.GI13278@casco.aei.mpg.de> Good afternoon, during FAI installation, $faiconfig/debconf/$class files are added to the debconf database. This has been working all the time. Now, I've got a package upgrade which requires setting some (new) values - how do I add these settings to an existing, running setup? /usr/share/debconf/confmodule apparently doesn't work (and db_set therefore cannot be used). Do I have to install debconf-utils and use debconf-set-selections, or is there a faster way? Thanks, Steffen -- Steffen Grunewald, Cluster Administrator Max Planck Institute for Gravitational Physics (Albert Einstein Institute) Am M?hlenberg 1 D-14476 Potsdam-Golm Germany ~~~ Fon: +49-331-567 7274 Fax: +49-331-567 7298 Mail: steffen.grunewald(at)aei.mpg.de ~~~ From lange at informatik.uni-koeln.de Mon Dec 12 23:40:18 2016 From: lange at informatik.uni-koeln.de (Thomas Lange) Date: Mon, 12 Dec 2016 23:40:18 +0100 Subject: FAI 5.3.2, new ISO iamges, tar package from backports Message-ID: <22607.10066.93360.319908@kueppers.informatik.uni-Koeln.de> I released FAI 5.3.2 (see http://blog.fai-project.org/posts/FAI_5.3.2/) and created new ISO images for download. I've also put a version of tar from backports into the fai-project.org package repository, since it fixes a problem when extracting Ubuntu base files. -- regards Thomas From abezella at archive.org Wed Dec 14 23:40:43 2016 From: abezella at archive.org (andrew bezella) Date: Wed, 14 Dec 2016 14:40:43 -0800 Subject: dirinstall overwrites hostname in fai 5.3 Message-ID: <1481755243.7454.77.camel@abezella-laptop.us.archive.org> hello - i don't have cycles to spend debugging this now, but it appears that in fai 5.3 a dirinstall is changing the hostname on the host system again. verified that 5.3.2 has this issue, 5.1.2 does not. unsure exactly where/when it was introduced. on a somewhat related note (involving dirinstalls) i was curious about the change where the $LOGSERVER variable was moved from fai.conf to the configuration space (as noted in http://wiki.fai-project.org/wiki/Variables). in a typical dirinstall this is not used ($LOGUSER is unset in `/usr/lib/fai/subroutines`). but there are situations where the system is unable to get the config space, in which case fai tries to save the logs for a "noaction" event. since $LOGSERVER is in the configspace, it falls back to $SERVER which is not going to work (for our setup). i guess the question is whether it could be moved back to fai.conf or if there was a pressing need for it to be relocated. minor issue, though. thanks! andy -- andrew bezella Internet Archive From lange at informatik.uni-koeln.de Thu Dec 15 13:25:44 2016 From: lange at informatik.uni-koeln.de (Thomas Lange) Date: Thu, 15 Dec 2016 13:25:44 +0100 Subject: new dracut and tar version in FAI package repository Message-ID: <22610.35784.334098.954349@paeffgen.informatik.uni-Koeln.de> JFYI: I've added a new dracut version (044+189-2~bpo8+1) and a tar package (1.29b-1~bpo8+1) from backports into the fai-project.org package repository for jessie. -- regards Thomas From d.gavrilovic at gmail.com Sat Dec 24 03:13:08 2016 From: d.gavrilovic at gmail.com (Darko Gavrilovic) Date: Fri, 23 Dec 2016 21:13:08 -0500 Subject: Adding extra apt keys to clients Message-ID: 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 From steven.wend at t-online.de Sat Dec 24 09:20:24 2016 From: steven.wend at t-online.de (Steven Wend) Date: Sat, 24 Dec 2016 09:20:24 +0100 Subject: Adding extra apt keys to clients In-Reply-To: References: Message-ID: <440efd31-bb92-6424-071f-f84ce223ce9b@t-online.de> 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 > From steven.wend at t-online.de Sat Dec 24 09:29:44 2016 From: steven.wend at t-online.de (Steven Wend) Date: Sat, 24 Dec 2016 09:29:44 +0100 Subject: Adding extra apt keys to clients In-Reply-To: References: Message-ID: <3238446c-cd39-4175-27d7-67f2f3dbdee4@t-online.de> Hi again, a second comment. 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 - Chrooting into the nfs root means you will change the system which "does" your installation. > > I also tried it by by adding a line in > > /srv/fai/config/scripts/HADOOP/10-misc In this case you will try to configure your target, thats fine. > > # add the apt key for salt > $ROOTCMD wget -O - > http://debian.saltstack.com/debian-salt-team-joehealy.gpg.key | > apt-key add - Should work out. But I'am not sure about the pipe and chroot. You should debug your script. Add "set -x". And it is pretty easy to "debug" and "test". Do not restart your Installation automatically, keep it alive and connect via ssh. Use mount to see where your configuration is mounted. After that you can rerun all your scripts. > > 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 > From d.gavrilovic at gmail.com Sat Dec 24 15:42:49 2016 From: d.gavrilovic at gmail.com (Darko Gavrilovic) Date: Sat, 24 Dec 2016 09:42:49 -0500 Subject: Adding extra apt keys to clients In-Reply-To: <440efd31-bb92-6424-071f-f84ce223ce9b@t-online.de> References: <440efd31-bb92-6424-071f-f84ce223ce9b@t-online.de> Message-ID: 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 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 >>