ErKa (keryell@keryell.pck.nerim.net) joined #fai.
puck (~puck@leibniz.catalyst.net.nz) left irc: Ping timeout: 480 seconds
puck (~puck@leibniz.catalyst.net.nz) joined #fai.
kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) joined #fai.
kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) left irc: Remote host closed the connection
kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) joined #fai.
ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds
verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai.
ErKa (keryell@dhcp1.info.enstb.org) joined #fai.
08:47 uchimataok, I have my problem solved by adding a custom grub-install script to the GRUB scripts
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: Remote host closed the connection
10:53 mgoetzedoes anyone have a howto for testing FAI locally with, say, KVM?
11:08 glanceinstalling a kvm machine is no diffrent from installing a physical machine.
11:29 mgoetzewell yeah, but you need to set up virtual network with dhcp and pxe and such...
11:29 mgoetzeit might be very easy, i just haven't tried it yet
11:30 oz_I think you still fiddle around with many detail, especially networking
11:31 mgoetzeright, so i thought maybe someone might have written a howto
11:31 mgoetzeif it's so easy that no howto is needed, that's fine too, of course :)
11:34 oz_mgoetze: did look in the wiki?
11:34 mgoetzewell i searched for "kvm" and got no matches
11:36 oz_mgoetze: the wiki doesn't match word<4 chars iirc
11:36 mgoetzesearching for "xen" gets some results
11:36 oz_I don't think that we tuned mysql to do it
11:36 oz_mgoetze: ah, okay
11:37 oz_then nada is in it :-/
11:37 mgoetzewell, guess that means i should just do it and write a howto myself :)
11:48 uchimataI'm currently just testing with 2 vmware vms, and it works fine
11:48 uchimataI just had to turn off the vmware built-in dhcp server
12:00 \shhmmm...
12:01 \shhow do I overwrite the $HOSTNAME inside FAI? HOSTNAME=<new name> doesn't give the correct result...actually I don't have any hostname for the IP address so $HOSTNAME defaults to "host" and that I want to overwrite inside 50-classes
12:01 mgoetze\sh: scripts in class/ are sourced from fai-class, so exports don't get passed to the main fai process. you need to put them in class/*.var
12:02 \shmgoetze: hmm...when are the *.var files sourced in? after 50-host-classes or before?
12:03 mgoetzeafter all the class scripts
12:05 \shso the <class>.var file could have something like "HOSTNAME=myhost" and fai-class would add "echo $HOSTNAME LAST | addclass" to the list of classes?
12:07 \shno didn't work
12:08 \shI wonder from where $HOSTNAME comes
12:09 mgoetzeno i mean the .var scripts are sourced after fai-class exits
12:13 \shhmm...is it possible to pass the hostname via kernel append line
12:13 \sh?
12:17 oz_\sh: why not via dhcp?
12:18 \shoz_: because dhcp doesn't know anything about new servers which are pushed in..so my information of production hostname etc. is coming from a database which is read in 50-host-classes ;)
12:19 \shwe don't have a flat dhcp structure...we are using dhcp only for the deployment phase...without having any hostname/ip pxe boots
12:20 oz_\sh: 'man hostname' ? ;)
12:20 kai_bo\sh: we append a variable via grub, called OBS_SYS and daring installation a script does sometink like case $OBS_SYS in  joh-*)<------>echo "GRUB OBSBASE";;
12:20 oz_kai_bo: your <-----> look really weird.
12:20 kai_booz_: I know, there was already that discussion ;)
12:21 \shfaiwiki: dmidetect : define classes based on dmidecode and lspci output  <- this script does this:
12:21 \shsub set_host_name_vars {
12:21 \shopen O, ">>/tmp/fai/additional.var" or
12:21 \sh        die "Could not append to /tmp/fai/additional.var: $!\n";
12:21 \sh   print O qq{HOSTNAME=$dmi->{'Chassis Information'}->{'Asset Tag'}->[0]\n};
12:21 \shI wonder if this is the correct way
12:32 Winkieusing 'O' as a filehandle is kinda confusing, all modern perl versions support using a scalar:
12:32 Winkiemy $fh; open $fh, '<', $filename; while (<$fh>) etc
12:32 Winkiepedantic point #4123 :)
12:35 \shWinkie: that wasn't the point...the point is additional.var inside /tmp/fai...how it will be written I don't care ;)
12:36 \shbut doesn
12:36 \sht work
12:37 \shbah...I don't care
12:37 \shI don't use any hostclasses...full stop.
12:38 Winkie\sh: i was just being pedantic ;)
12:38 Winkieand yeah i don't use any host classes either, i don't have a good FAI config at the moment because of AUFS problems :(
12:44 mgoetze\sh: now just put ". /tmp/fai/additional.var" in class/DEFAULT.var
ErKa (keryell@dhcp1.info.enstb.org) left irc: Ping timeout: 480 seconds
13:23 mgoetzehmph, qemu(1) just makes a throwaway comment about " the client hostname reported by the builtin DHCP server." - with no further information about this builtin dhcp server
uchimata_ (~uchimata@i3ED6D63E.versanet.de) joined #fai.
uchimata (~uchimata@i3ED6C91A.versanet.de) left irc: Ping timeout: 480 seconds
13:46 \shmgoetze: DEFAULT.var will always be used even with no DEFAULT class?
13:52 \shmgoetze: doesn't work
14:11 \shhmm...if I want to make an i386 server installation via fai...I could still chroot into a i386 debootstrap chroot, right? and then it would think it's i386, right?
14:11 \shah no
14:11 \shI need an i386 nfsroot
ErKa (keryell@dhcp1.info.enstb.org) joined #fai.
15:01 mgoetze\sh: well you should have some class which you always use :)
15:05 \shmgoetze: I don't use any hostbased Classes anymore ;)
15:05 \shI'm smart =,)
15:05 \shbut I don't work for IBM
15:07 oz_\sh: ppl working for IBM ain't smart neccessarily. ;)
15:12 \shthe tv commercial says so ;)
15:12 oz_8-)
15:13 oz_TV commercials also told me "Yes, you can"
15:13 oz_and I just can't. ;)
15:13 \shhehe
ErKa (keryell@dhcp1.info.enstb.org) left irc: Ping timeout: 480 seconds
15:43 \sh17:43 -> time for a little beer
verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Ping timeout: 480 seconds
ErKa (keryell@keryell.pck.nerim.net) joined #fai.
17:38 \shhave a nice one...going home now
kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) left irc: Quit: Verlassend
20:39 FBIfai: 3 mt committed revision 5422 to 7 fai:  - added bugfix for new mdadm output
20:39 FBIfai: - proper handling of vol_id -l exit code 3 (to be ignored)
20:39 FBIfai: - fixed patch for #532321 as suggested by Cajus
20:44 FBIfai: 3 mt committed revision 5423 to 7 fai:  Replaced defined %vg_info by simple %vg_info as suggested by perl compiler
ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds
eliseo (~manahil@124.128.154.252) joined #fai.
21:13 eliseoNeed Sex? Get Laid! famouspornstars.com
eliseo (manahil@124.128.154.252) left #fai.
tidd (~pommainv@201.47.123.178) joined #fai.
21:27 tiddNeed Sex? Get Laid! famouspornstars.com
tidd (pommainv@201.47.123.178) left #fai.
zarkel (~farant@80.148.25.104) joined #fai.
zarkel (farant@80.148.25.104) left #fai.
bastien (~wueppelm@93.190.40.80) joined #fai.
bastien (wueppelm@93.190.40.80) left #fai.
zlatin (~sudbury@221.1.65.44) joined #fai.
21:31 zlatinNeed Sex? Get Laid! famouspornstars.com
zlatin (sudbury@221.1.65.44) left #fai.
panchmat (~htd@202.141.48.78) joined #fai.
panchmat (htd@202.141.48.78) left #fai.
--- Fri Jun 26 2009

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