[00:00] i want to install my package when i'm chrooted to the target volume [01:08] Winkie (~urmom@ur.fa.gs) left irc: Remote host closed the connection [08:10] Kinglui (~Steffen.K@195.122.130.2) left irc: Ping timeout: 480 seconds [08:29] siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) joined #fai. [08:57] allee-k (~allee-k@alleehol.mpe.mpg.de) joined #fai. [08:57] ErKa (keryell@dhcp1.info.enstb.org) joined #fai. [09:03] allee (~ach@allee.mpe.mpg.de) joined #fai. [09:05] Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai. [09:23] ErKa (keryell@dhcp1.info.enstb.org) left irc: Remote host closed the connection [09:37] ErKa (keryell@dhcp1.info.enstb.org) joined #fai. [09:48] MrCatEye (~me@office.metaversum.com) joined #fai. [09:52] MrCatEye (me@office.metaversum.com) left #fai. [09:54] Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving [09:54] Mrfai (~lange@suenner.informatik.uni-koeln.de) joined #fai. [10:08] Nabilou (~Nabilou@mail.sysun-technologies.com) joined #fai. [10:08] Hello [10:09] I'm trying to use FAI to install few clients, but i get some troubles; Do you have a good HowTo [10:10] by the way i'use debian Lenny [10:10] Nabilou: you read the fai guide? [10:10] i am using lenny too [10:10] it seems to work [10:13] uchimata: Yes i did, but i guess i missed something. Should the initrd file be modified to boot on the NFS server? [10:15] should work out of the box -- but I'm also not an fai expert :) [10:15] you ran fai-chboot? [10:17] Not yet, I'm going to try it [10:44] fai: 3 lange committed revision 5698 to 7 fai: lib/updatebase, fai-debconf: exit if mktemp fails, for e.g. when [10:44] fai: TMPDIR is set to nonexisting directory (Thanks to Michael Prokop for [10:44] fai: the hint) [10:51] verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. [10:53] MrCatEye (~me@office.metaversum.com) joined #fai. [10:53] hi [10:54] hello [10:55] well I'm searching for a way to applay a special config file to a installation [10:55] *apply [10:55] MrCatEye: did you define your own class? [10:55] basically you can put the config file into the files directory in the config tree and copy it using fcopy [10:56] I managed to add a host to the host to the 50-host-classes-file [10:57] and get an Installation with to work [10:57] ok... using your own class or existing classes? [10:58] I think I am using an existing class [10:58] k... so which one? ;) [10:59] faibase? [11:04] I used the default kernel to boot the client, but i get a kernel panic : "Kernel panic - not syncing: VFS: Unable to mount toot fs on unknown-block [11:04] root* [11:05] Does anybody have a clue? [11:09] did you create you pxelinux.cfg using fai-chboot? which are your kernel parameters? [11:10] MrCatEye: so you should define your own class and create scripts to copy your file to your installation [11:12] I use vmlinuz-2.6.26-2-486. But I have no idea of how I could use fai-chboot to create pxelinux.cfg [11:12] I'm reading the man yet [11:12] wait I founf somethn on the net... [11:12] last week [11:12] faichboot -IFV hostname [11:12] ups.. [11:13] fai-chboot -IFV hostname [11:13] so this is it, instead of the hostname put in the name of the host like u define it in the dhcp.config [11:14] Thanks, I am going to try this out. [11:14] i had to define: option-hostname "faitest"; in the dhcp config file [11:15] and in the DNS config file the hostname has to be there defined to, so a lookup can be sccesful [11:15] fai-chboot will try to do a lookup [11:17] fai.chboot will now create the needed files for PXE-booting und store it in the TFTP-directory [11:18] I do not really know wether this file can be used by all clients that I want to install or do I have to make a file for each client seperatly [11:21] IT WORKS !! [11:21] I know :) [11:21] MrCayEye : thank you so mush :)) [11:21] *much [11:21] no problem, this problem costs me 5 day of my life [11:22] *days [11:25] question: if I put a host name in the "50-host-classes"-file, e.g. "myhost" is this then a class-name ? [11:25] It costs me around a week and few coffee litres [11:25] I hope it was good coffe :) [11:25] *coffee [11:39] MrCatEye: no, this is your hostname :) [11:39] and you can assign several classes to this hostname [11:39] => the adjustments/scripts of this class will be run for the installation of this hostname(s) [11:41] so classes are these words that follow after the hostname in quotes [11:42] right [11:44] so If I make in package_config Fodler a file called "webserver" and put all the packages I need for a webserver in it, I have createt a class named "webserver" and can write this class-name to the list of other classnames that a in the quotes [11:44] *a = are [11:51] aye :) [11:51] means? [11:51] hm... iirc there was an option to disable the final "hit enter to reboot" message after the install... what's the parameter for this? could not find anything in man fai-chboot [11:52] aye == pirate yes ;) [12:17] uchimata: AFAIK you have to add 'reboot' to FAI_FLAGS. [12:20] sts: ah :) great, thx :) [12:21] jenk: read your shell.log [12:55] Nabilou (~Nabilou@mail.sysun-technologies.com) left irc: Ping timeout: 480 seconds [12:55] allee-k (~allee-k@alleehol.mpe.mpg.de) left irc: Ping timeout: 480 seconds [13:02] well I created a folder "COPYCONF" in "scripts, and added the new class to the list of classes in the 50-host-classes-file [13:03] I have some conf-file and I want to copy them to the right location in the filesystem of the client [13:04] allee-k (~allee-k@alleehol.mpe.mpg.de) joined #fai. [13:04] MrCatEye: sounds great [13:05] ErKa (keryell@dhcp1.info.enstb.org) left irc: Ping timeout: 480 seconds [13:07] oops - wow - wrong channel *and* wrong nick auto-replace :) [13:16] Nabilou (~Nabilou@mail.sysun-technologies.com) joined #fai. [13:18] Do you guys know how i could create a crypted partition editing FAIBASE plz? [13:21] my question is, where do I have to put the conf-file in the fai directory tree [13:22] MrCatEye: man fcopy [13:23] MrCatEye: have i mentioned that reading the fai guide is very helpful? [13:31] Answering to myself : Actually it seems its not possible cause criptsetup (for example) has to be installed and set up... then it can't be done with FAIBASE [13:32] Nabilou: FAIBASE is just an example. you can use whatever scripts you want and call your classes whatever you want. the FAIBASE example, incidentally, does not involve crypted partitions [13:32] mgoetze: others did that mention, too ;) [13:32] Nabilou: meanwhile, if you want to add programs to your nfsroot, edit /etc/fai/NFSROOT and run make-fai-nfsroot again [13:37] mgoetze: thank you it's pretty helpfull [13:46] hm... where must fai_flags be placed? [13:50] uchimata: on the kernel command line... see fai-chboot manpage [13:51] mgoetze: ah... I must have been blind... [13:53] uchimata: and take some time to study the FAI guide [13:54] uchimata: it's very extensive and gives you a great overview of the process ... which in return will help you to look for changes in the right place... [13:56] uchimata: and there was a good linux magazine article as well: http://www.linux-magazine.com/w3/issue/100/066-071_FAI.pdf [14:10] sts: thx, I know these resources... but there are that much config parameters ;-) [14:18] allee-k (~allee-k@alleehol.mpe.mpg.de) left irc: Ping timeout: 480 seconds [14:29] ErKa (keryell@dhcp1.info.enstb.org) joined #fai. [14:35] ok I think I got it, but need some help for right understanding... [14:36] well the fcopy command is: fcopy -s /files -t /target /etc/apache2/conf.d [14:37] you do not need to specify -s and -t. This will be set by FAI. [14:37] in the apropriated directory on the fai-server is a file called CONFCOPY [14:37] I would add -v for verbose [14:38] MrCatEye: but this example is OK. [15:06] as I understand, do I have to rename the file that I want to copy the same as a classname? [15:07] and how do I rename it? [15:07] on the client [15:33] siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) left irc: Quit: Leaving. [15:41] MrCatEye: to copy /etc/motd create config/files/etc/motd/CLASSNAME and it will copy the file automatically... [15:44] now I know, that the fiel CLASSNAME will be "renamed" to the name of the folder where it is in [15:44] *file [15:45] MrCatEye: yes. well, automatically is not true - you will still need to call fcopy /etc/motd [15:46] and fcopy is call through a script, right? [15:46] *called [15:47] yep [16:07] Q: will existing file be overwritten, always? (except turning option -P on at fcopy) ? [16:09] yes [16:09] thanks [16:12] ErKa (keryell@dhcp1.info.enstb.org) left irc: Ping timeout: 480 seconds [16:19] corellis (~msc@gw2.cgn3.hosteurope.de) left irc: Quit: Ex-Chat [16:30] hmm it won'T copy the file [16:35] I added the testclient to the class COPYCONF [16:35] created in scripts a folder called COPYCONF [16:35] touched a file called 10-conffile and wrote this line: fcopy -v /etc/apache2/apache3.conf [16:35] presumably 10-conffile isn't executable [16:35] I made: chmod 755 10-conffile [16:36] and how will it be executed? [16:36] I created a folder in files/etc/apache2/ called apache3.conf [16:37] i mean 10-conffile. how will your computer know what to do with the file? [16:37] and in that folder I pit a file called COPYCONF [16:37] help , what U mean? [16:38] Nabilou (~Nabilou@mail.sysun-technologies.com) left irc: Quit: Quitte [16:39] do you know how computers work? [16:39] I thought that this is a script and would be executed automatically by FAI [16:39] u mean I have to mark the file als executable? [16:40] FAI will ask the kernel of the installation system to execute this file [16:40] so, what will the kernel do? [16:40] first it will check whether executing this file is allowed [16:40] and then...? [16:41] compiling it to binary code? [16:41] :( [16:41] no, sorry, the linux kernel is not a compiler [16:42] maybe he is looking for fcopy? [16:43] the linux kernel is not a rescue dog either [16:44] ... so the right answer is? [16:45] the right answer is that the linux kernel will look at your file, determine it doesn't match any of the formats it knows what to do anything with, and return an error [16:47] ok thank u mean the "she bang" line is missing ? [16:48] #! /bin/bash <-- right ? [16:48] why don't you just try it? [16:54] verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat [16:59] it worked :) [16:59] thanks a lot [17:57] Mrfai (~lange@suenner.informatik.uni-koeln.de) left irc: Quit: leaving [19:53] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. [21:46] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Quit: Leaving. [22:38] ErKa (keryell@keryell.pck.nerim.net) joined #fai. [00:00] --- Tue Jan 19 2010