[05:54] puck (~puck@leibniz.catalyst.net.nz) left irc: Ping timeout: 480 seconds [05:56] puck (~puck@leibniz.catalyst.net.nz) joined #fai. [06:44] kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) joined #fai. [06:46] kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) left irc: Remote host closed the connection [06:47] kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) joined #fai. [06:49] kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) left irc: [06:51] kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) joined #fai. [06:52] Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai. [07:37] kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) left irc: Quit: Verlassend [07:40] kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) joined #fai. [07:59] edoreld (~Adium@p57A097A9.dip0.t-ipconnect.de) joined #fai. [08:42] verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. [09:14] ErKa (~keryell@APuteaux-154-1-18-124.w83-199.abo.wanadoo.fr) joined #fai. [09:35] Is it possible to make a hook that executes before anything that reads input from the command line, and changes whatever hostname the DHCP server has given you to the one u write? Also, the classes should be defined after the hook, since the hostname is important! [09:36] Or is there any man page I can read to illuminate myself on this subject? [09:42] make a source'd defclass-hook that resetts HOSTNAME and the machines hostname to anything you want? [09:43] edoreld: i think the fai guide is more helpful for this [09:45] glance: but anything I want is different each time [09:45] glance: it'd need to ask for user input [09:45] edoreld: so? make a hook that asks for user input? [09:46] you don't need a hook for this [09:46] What do I need? [09:46] a script in class/ [09:46] have i mentioned read the fai guide? [09:47] I'm reading it but the guide does not solve 100% of the things I need to know :) [09:49] edoreld: www.infrastructures.org gives you enough to read [09:52] edoreld: I give FAI user trainings. There you can get all you want to know ;-) [09:52] :O where do I sign up :D? [09:52] oz: thank you very much =^_^= [09:53] I give these training in Germany, Essen. But you can also invite me to your country. [09:53] btw, have a look at http://www.informatik.uni-koeln.de/fai/download/developers/30menu.source [09:54] I ask for user input and set classes [09:54] s/I/it/ [09:54] edoreld can't even afford a linux administration book, how should he be able to afford your training? :) [09:54] Well I'm in Germany so no issue there ^_^ [09:55] and mgoetze I have lots of digital linux administration books, I just need to find the time to read em ^_^ [09:55] mgoetze: I never bought a book about sys-administration [09:56] me neither, but then i like reading manpages :) [09:56] I was given a book about solaris 2.6... [09:56] and the I read man pages and READMEs [10:00] if i export variables from a .source script in class, they will be available for the rest of the installation, right? [10:03] yep [10:05] using dialog is a great idea, i was planning to create something complicated myself but it's probably less work with dialog :) [10:10] mgoetze: dialog for what? [10:11] for defining classes interactively [10:12] u mean the package dialog? [10:16] lol@dialog manpage flaming whiptail [10:27] simNIX (~simNIX@156-60.bbned.dsl.internl.net) joined #fai. [10:37] ErKa (~keryell@APuteaux-154-1-18-124.w83-199.abo.wanadoo.fr) left irc: Ping timeout: 480 seconds [10:48] Mrfai: before which task should I execute the hook you kindly posted for me :)? [10:49] or wait [10:49] nevermind [11:07] Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving [11:07] Mrfai (~lange@suenner.informatik.uni-koeln.de) joined #fai. [11:26] Mrfai: I have run that script you posted, both as a hook (before the "configuration" task) and as a script (named 50-read in $FAICONFIG/scripts/FAIBASE). I have customized it -> One of the entries is FIREWALL "make custom firewall". However, once the hook is finished, it starts to execute all scripts from classes, and the scripts from the class FIREWALL don't get executed! Am I doing something wrong? [11:27] edoreld: yes [11:27] edoreld: for one thing, you didn't read the fai guide properly [11:28] Please if there's something wrong with what I'm doing, I'd appreciate you pointing it out :) [11:28] Apart from reading the guide / man pages, which I assure you I do as much as I can [11:28] edoreld: what's the name of the script Mrfai gave you and what part of the fai guide does it remind you of? [11:29] 30menu.source ? [11:29] yes good, and...? [11:29] ouh.... [11:29] hm which part of the manual did I forget when the pxe-boot process exits due to missing pxelinux.cfg/FILES? [11:29] Damn I was wondering what the hell was .source in the name for.. [11:30] uchimata: perhaps the part about running fai-chboot [11:30] hm sounds sound [11:30] Thank you mgoetze, my brain could use some training :) [11:30] edoreld: np :) [11:31] uchimata: man fai-chboot [11:32] edoreld: put 30menu.source into the class subdirectory [11:32] kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) left irc: Quit: Verlassend [11:33] Mrfai: :O ! Damn how did I not think of that! [11:35] Done, let's see how it goes now :) [11:40] Hmm nothing happened. Isn't that because I try to run the dialog command before the dialog package has been installed? [11:43] the dialog package must be isntalled inside the nfsroot [11:44] which, btw, is in the default /etc/fai/NFSROOT [11:44] it's true it's installed [11:44] edoreld: chmod a+rx ? [11:44] it has the 755 permissions [11:45] i renamed it 30-menu.source and put it in $FAICONFIG/class as you kindly suggested [11:45] put your fai.log onto paste.debian.net [11:46] one sec [11:47] there it is [11:47] http://bit.ly/bcvos [11:49] ok 30-menu.source is executed. Good. [11:49] do you see the dialog on your screen? [11:49] no nothing [11:50] script -> http://bit.ly/16L4lj [11:50] I didn't change anything important methinks [11:50] hmm well I changed /bin/sh to /bin/bash, maybe that's the problem? [11:53] hmm nope, just tested [11:53] same old thing [11:56] are there any reasons for not using dnsmasq in a fai-setup? [11:57] uchimata: i don't see why it shouldn't work [11:57] I see it [11:57] it works great :) [11:58] by now ;) [11:58] sorry. I see why 30-menu.source does not work [11:58] ahh, what is the issue here? [11:58] hehe [11:59] read the sources of the script [11:59] edoreld: you have to be in the class MENU, otherwise the "if" will not be executed the dialog command [11:59] The class MENU must defined before 30-menu.source is executed [11:59] ahh.... [12:00] Well I don't really need the if directive [12:00] since I want every client that boots to get the menu :) [12:00] Damn my brain for not seeing such things :P [12:00] Thanks man, your time is blood [12:00] erhm...gold to me [12:27] kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) joined #fai. [13:03] I got an error concerning the missing "udevsettle" in setup-storage, and also found a bug report for this. but I'm running 3.2.20, the bug report was for 3.2.13. May there be another problem? [13:03] or better, workaround? ;) [13:07] do you know the experimental packages of fai? They may have a fix already included. [13:07] so i just have to update my sources.list and then to update my system? [13:13] yes. If you want to use the experimental packages [13:15] it's just a test environment :) [13:38] is a new fai-setup after upgrade enough or do I have to delete all folders of the former tries? [13:38] fai-setup is enough [13:41] hm then there is still the same error... [13:41] you are using lenny? [13:42] aye [13:42] but install target should be squeeze [13:51] and is squeeze, more correctly [14:02] Mrfai: did you ever try to install Sol 10 via FAI? [14:06] no, only solaris 9. FAI and Solaris works in a different way. You use Solairs Jumpstart, but it will be extended by the FAI classes. Partitioning and software installation is done by Jumpstart [14:07] Mrfai: does it matter if FAIBASE gets executed after a custom script (e.g: FIREWALL) ? [14:07] In the script from before I made so that the hostname of the machine to be installed changed to something else, and since then the FIREWALL class's scripts have been executing before the FAIBASE scripts [14:08] edoreld: it's up to you to check if the order is important for these two scripts [14:09] you're right ^_^ [14:09] will $IPADDR, $NETMASK etc. be set only if fai was started via dhcp etc.? [14:10] especially: will they be set during a softupdate? [14:11] mgoetze: no. But you may call get-boot-info which could set those variables [14:11] actually i'm just checking because i don't want /etc/network/interfaces to be accidentally overwritten during a softupdate :) [15:15] verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat [15:21] Mrfai (~lange@suenner.informatik.uni-koeln.de) left irc: Quit: leaving [15:35] edoreld (~Adium@p57A097A9.dip0.t-ipconnect.de) left irc: Quit: Leaving. [16:14] kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) left irc: Quit: Verlassend [16:19] ErKa (~keryell@192.93.161.12) joined #fai. [17:25] ErKa (~keryell@192.93.161.12) left irc: Ping timeout: 480 seconds [18:12] Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai. [19:12] Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving [21:50] uchimata_ (~uchimata@i3ED6C618.versanet.de) joined #fai. [21:56] uchimata (~uchimata@i3ED6D9A7.versanet.de) left irc: Ping timeout: 480 seconds [22:43] hey, I know it's waaaay too early to ask here, but does FAI work with squeeze already ? [22:43] I remember it wasn't ready for lenny for a long time [22:50] cbmuser: well there's no real reason it shouldn't work, but it hasn't been extensively tested [00:00] --- Wed Jun 17 2009