00:00 jenki want to install my package when i'm chrooted to the target volume
Winkie (~urmom@ur.fa.gs) left irc: Remote host closed the connection
Kinglui (~Steffen.K@195.122.130.2) left irc: Ping timeout: 480 seconds
siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) joined #fai.
allee-k (~allee-k@alleehol.mpe.mpg.de) joined #fai.
ErKa (keryell@dhcp1.info.enstb.org) joined #fai.
allee (~ach@allee.mpe.mpg.de) joined #fai.
Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai.
ErKa (keryell@dhcp1.info.enstb.org) left irc: Remote host closed the connection
ErKa (keryell@dhcp1.info.enstb.org) joined #fai.
MrCatEye (~me@office.metaversum.com) joined #fai.
MrCatEye (me@office.metaversum.com) left #fai.
Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving
Mrfai (~lange@suenner.informatik.uni-koeln.de) joined #fai.
Nabilou (~Nabilou@mail.sysun-technologies.com) joined #fai.
10:08 NabilouHello
10:09 NabilouI'm trying to use FAI to install few clients, but i get some troubles; Do you have a good HowTo
10:10 Nabilouby the way i'use debian Lenny
10:10 uchimataNabilou: you read the fai guide?
10:10 stockholmi am using lenny too
10:10 stockholmit seems to work
10:13 Nabilouuchimata: Yes i did, but i guess i missed something. Should the initrd file be modified to boot on the NFS server?
10:15 uchimatashould work out of the box -- but I'm also not an fai expert :)
10:15 uchimatayou ran fai-chboot?
10:17 NabilouNot yet, I'm going to try it
10:44 FBIfai: 3 lange committed revision 5698 to 7 fai:  lib/updatebase, fai-debconf: exit if mktemp fails, for e.g. when
10:44 FBIfai: TMPDIR is set to nonexisting directory (Thanks to Michael Prokop for
10:44 FBIfai: the hint)
verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai.
MrCatEye (~me@office.metaversum.com) joined #fai.
10:53 MrCatEyehi
10:54 Nabilouhello
10:55 MrCatEyewell I'm searching for a way to applay a special config file to a installation
10:55 MrCatEye*apply
10:55 uchimataMrCatEye: did you define your own class?
10:55 uchimatabasically you can put the config file into the files directory in the config tree and copy it using fcopy
10:56 MrCatEyeI managed to add a host to the host to the 50-host-classes-file
10:57 MrCatEyeand get an Installation with to work
10:57 uchimataok... using your own class or existing classes?
10:58 MrCatEyeI think I am using an existing class
10:58 uchimatak... so which one? ;)
10:59 MrCatEyefaibase?
11:04 NabilouI 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 Nabilouroot*
11:05 NabilouDoes anybody have a clue?
11:09 Mrfaidid you create you pxelinux.cfg using fai-chboot? which are your kernel parameters?
11:10 uchimataMrCatEye: so you should define your own class and create scripts to copy your file to your installation
11:12 NabilouI 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 NabilouI'm reading the man yet
11:12 MrCatEyewait I founf somethn on the net...
11:12 MrCatEyelast week
11:12 MrCatEyefaichboot -IFV hostname
11:12 MrCatEyeups..
11:13 MrCatEyefai-chboot -IFV hostname
11:13 MrCatEyeso this is it, instead of the hostname put in the name of the host like u define it in the dhcp.config
11:14 NabilouThanks, I am going to try this out.
11:14 MrCatEyei had to define: option-hostname "faitest"; in the dhcp config file
11:15 MrCatEyeand in the DNS config file the hostname has to be there defined to, so a lookup can be sccesful
11:15 MrCatEyefai-chboot will try to do a lookup
11:17 MrCatEyefai.chboot will now create the needed files for PXE-booting und store it in the TFTP-directory
11:18 MrCatEyeI 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 NabilouIT WORKS !!
11:21 MrCatEyeI know :)
11:21 NabilouMrCayEye : thank you so mush :))
11:21 Nabilou*much
11:21 MrCatEyeno problem, this problem costs me 5 day of my life
11:22 MrCatEye*days
11:25 MrCatEyequestion: if I put a host name in the "50-host-classes"-file, e.g. "myhost" is this then a class-name  ?
11:25 NabilouIt costs me around a week and few coffee litres
11:25 MrCatEyeI hope it was good coffe :)
11:25 MrCatEye*coffee
11:39 uchimataMrCatEye: no, this is your hostname :)
11:39 uchimataand you can assign several classes to this hostname
11:39 uchimata=> the adjustments/scripts of this class will be run for the installation of this hostname(s)
11:41 MrCatEyeso classes are these words that follow after the hostname in quotes
11:42 uchimataright
11:44 MrCatEyeso 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 MrCatEye*a = are
11:51 uchimataaye :)
11:51 MrCatEyemeans?
11:51 uchimatahm... 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 uchimataaye == pirate yes ;)
12:17 stsuchimata: AFAIK you have to add 'reboot' to FAI_FLAGS.
12:20 uchimatasts: ah :) great, thx :)
12:21 mgoetzejenk: read your shell.log
Nabilou (~Nabilou@mail.sysun-technologies.com) left irc: Ping timeout: 480 seconds
allee-k (~allee-k@alleehol.mpe.mpg.de) left irc: Ping timeout: 480 seconds
13:02 MrCatEyewell 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 MrCatEyeI have some conf-file and I want to copy them to the right location in the filesystem of the client
allee-k (~allee-k@alleehol.mpe.mpg.de) joined #fai.
13:04 BlindBunnyMrCatEye: sounds great
ErKa (keryell@dhcp1.info.enstb.org) left irc: Ping timeout: 480 seconds
13:07 BlindBunnyoops - wow - wrong channel *and* wrong nick auto-replace :)
Nabilou (~Nabilou@mail.sysun-technologies.com) joined #fai.
13:18 NabilouDo you guys know how i could create a crypted partition editing FAIBASE plz?
13:21 MrCatEyemy question is, where do I have to put the conf-file in the fai directory tree
13:22 MrfaiMrCatEye: man fcopy
13:23 mgoetzeMrCatEye: have i mentioned that reading the fai guide is very helpful?
13:31 NabilouAnswering 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 mgoetzeNabilou: 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 uchimatamgoetze: others did that mention, too ;)
13:32 mgoetzeNabilou: meanwhile, if you want to add programs to your nfsroot, edit /etc/fai/NFSROOT and run make-fai-nfsroot again
13:37 Nabiloumgoetze: thank you it's pretty helpfull
13:46 uchimatahm... where must fai_flags be placed?
13:50 mgoetzeuchimata: on the kernel command line... see fai-chboot manpage
13:51 uchimatamgoetze: ah... I must have been blind...
13:53 stsuchimata: and take some time to study the FAI guide
13:54 stsuchimata: 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 stsuchimata: and there was a good linux magazine article as well: http://www.linux-magazine.com/w3/issue/100/066-071_FAI.pdf
14:10 uchimatasts: thx, I know these resources... but there are that much config parameters ;-)
allee-k (~allee-k@alleehol.mpe.mpg.de) left irc: Ping timeout: 480 seconds
ErKa (keryell@dhcp1.info.enstb.org) joined #fai.
14:35 MrCatEyeok I think I got it, but need some help for right understanding...
14:36 MrCatEyewell the fcopy command is: fcopy -s /files -t /target /etc/apache2/conf.d
14:37 Mrfaiyou do not need to specify -s and -t. This will be set by FAI.
14:37 MrCatEyein the apropriated directory on the fai-server is a file called CONFCOPY
14:37 MrfaiI would add -v for verbose
14:38 MrfaiMrCatEye: but this example is OK.
15:06 MrCatEyeas I understand, do I have to rename the file that I want to copy the same as a classname?
15:07 MrCatEyeand how do I rename it?
15:07 MrCatEyeon the client
siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) left irc: Quit: Leaving.
15:41 stsMrCatEye: to copy /etc/motd create config/files/etc/motd/CLASSNAME and it will copy the file automatically...
15:44 MrCatEyenow I know, that the fiel CLASSNAME will be "renamed" to the name of the folder where it is in
15:44 MrCatEye*file
15:45 stsMrCatEye: yes. well, automatically is not true - you will still need to call fcopy /etc/motd
15:46 MrCatEyeand fcopy is call through a script, right?
15:46 MrCatEye*called
15:47 Mrfaiyep
16:07 MrCatEyeQ: will existing file be overwritten, always? (except turning option -P on at fcopy) ?
16:09 mgoetzeyes
16:09 MrCatEyethanks
ErKa (keryell@dhcp1.info.enstb.org) left irc: Ping timeout: 480 seconds
corellis (~msc@gw2.cgn3.hosteurope.de) left irc: Quit: Ex-Chat
16:30 MrCatEyehmm it won'T copy the file
16:35 MrCatEyeI added the testclient to the class COPYCONF
16:35 MrCatEyecreated in scripts a folder called COPYCONF
16:35 MrCatEyetouched a file called 10-conffile and wrote this line: fcopy -v /etc/apache2/apache3.conf
16:35 mgoetzepresumably 10-conffile isn't executable
16:35 MrCatEyeI made: chmod 755 10-conffile
16:36 mgoetzeand how will it be executed?
16:36 MrCatEyeI created a folder in files/etc/apache2/ called apache3.conf
16:37 mgoetzei mean 10-conffile. how will your computer know what to do with the file?
16:37 MrCatEyeand in that folder I pit a file called COPYCONF
16:37 MrCatEyehelp , what U mean?
Nabilou (~Nabilou@mail.sysun-technologies.com) left irc: Quit: Quitte
16:39 mgoetzedo you know how computers work?
16:39 MrCatEyeI thought that this is a script and would be executed automatically by FAI
16:39 MrCatEyeu mean I have to mark the file als executable?
16:40 mgoetzeFAI will ask the kernel of the installation system to execute this file
16:40 mgoetzeso, what will the kernel do?
16:40 mgoetzefirst it will check whether executing this file is allowed
16:40 mgoetzeand then...?
16:41 MrCatEyecompiling it to binary code?
16:41 MrCatEye:(
16:41 mgoetzeno, sorry, the linux kernel is not a compiler
16:42 MrCatEyemaybe he is looking for fcopy?
16:43 mgoetzethe linux kernel is not a rescue dog either
16:44 MrCatEye... so the right answer is?
16:45 mgoetzethe 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 MrCatEyeok thank u mean the "she bang" line is missing ?
16:48 MrCatEye#! /bin/bash <-- right ?
16:48 mgoetzewhy don't you just try it?
verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat
16:59 MrCatEyeit worked :)
16:59 MrCatEyethanks a lot
Mrfai (~lange@suenner.informatik.uni-koeln.de) left irc: Quit: leaving
siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai.
siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Quit: Leaving.
ErKa (keryell@keryell.pck.nerim.net) joined #fai.
--- Tue Jan 19 2010

Generated by irclog2html.pl 2.1_h01ger1 by Jeff Waugh - find it at freshmeat.net! Customized by Holger 'h01ger' Levsen