[05:21] ErKa (keryell@keryell.pck.nerim.net) joined #fai. [06:26] puck (~puck@leibniz.catalyst.net.nz) left irc: Ping timeout: 480 seconds [06:31] puck (~puck@leibniz.catalyst.net.nz) joined #fai. [06:47] kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) joined #fai. [06:54] kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) left irc: Remote host closed the connection [06:54] kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) joined #fai. [07:42] ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds [07:53] verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. [08:00] ErKa (keryell@dhcp1.info.enstb.org) joined #fai. [08:47] ok, I have my problem solved by adding a custom grub-install script to the GRUB scripts [09:27] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. [10:01] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Remote host closed the connection [10:53] does anyone have a howto for testing FAI locally with, say, KVM? [11:08] installing a kvm machine is no diffrent from installing a physical machine. [11:29] well yeah, but you need to set up virtual network with dhcp and pxe and such... [11:29] it might be very easy, i just haven't tried it yet [11:30] I think you still fiddle around with many detail, especially networking [11:31] right, so i thought maybe someone might have written a howto [11:31] if it's so easy that no howto is needed, that's fine too, of course :) [11:34] mgoetze: did look in the wiki? [11:34] well i searched for "kvm" and got no matches [11:36] mgoetze: the wiki doesn't match word<4 chars iirc [11:36] searching for "xen" gets some results [11:36] I don't think that we tuned mysql to do it [11:36] mgoetze: ah, okay [11:37] then nada is in it :-/ [11:37] well, guess that means i should just do it and write a howto myself :) [11:48] I'm currently just testing with 2 vmware vms, and it works fine [11:48] I just had to turn off the vmware built-in dhcp server [12:00] <\sh> hmmm... [12:01] <\sh> how do I overwrite the $HOSTNAME inside FAI? HOSTNAME= 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] \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] <\sh> mgoetze: hmm...when are the *.var files sourced in? after 50-host-classes or before? [12:03] after all the class scripts [12:05] <\sh> so the .var file could have something like "HOSTNAME=myhost" and fai-class would add "echo $HOSTNAME LAST | addclass" to the list of classes? [12:07] <\sh> no didn't work [12:08] <\sh> I wonder from where $HOSTNAME comes [12:09] no i mean the .var scripts are sourced after fai-class exits [12:13] <\sh> hmm...is it possible to pass the hostname via kernel append line [12:13] <\sh> ? [12:17] \sh: why not via dhcp? [12:18] <\sh> oz_: 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] <\sh> we 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] \sh: 'man hostname' ? ;) [12:20] \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] kai_bo: your <-----> look really weird. [12:20] oz_: I know, there was already that discussion ;) [12:21] <\sh> faiwiki: dmidetect : define classes based on dmidecode and lspci output <- this script does this: [12:21] <\sh> sub set_host_name_vars { [12:21] <\sh> open 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] <\sh> I wonder if this is the correct way [12:32] using 'O' as a filehandle is kinda confusing, all modern perl versions support using a scalar: [12:32] my $fh; open $fh, '<', $filename; while (<$fh>) etc [12:32] pedantic point #4123 :) [12:35] <\sh> Winkie: that wasn't the point...the point is additional.var inside /tmp/fai...how it will be written I don't care ;) [12:36] <\sh> but doesn [12:36] <\sh> t work [12:37] <\sh> bah...I don't care [12:37] <\sh> I don't use any hostclasses...full stop. [12:38] \sh: i was just being pedantic ;) [12:38] and 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] \sh: now just put ". /tmp/fai/additional.var" in class/DEFAULT.var [13:03] ErKa (keryell@dhcp1.info.enstb.org) left irc: Ping timeout: 480 seconds [13:23] hmph, 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 [13:36] uchimata_ (~uchimata@i3ED6D63E.versanet.de) joined #fai. [13:43] uchimata (~uchimata@i3ED6C91A.versanet.de) left irc: Ping timeout: 480 seconds [13:46] <\sh> mgoetze: DEFAULT.var will always be used even with no DEFAULT class? [13:52] <\sh> mgoetze: doesn't work [14:11] <\sh> hmm...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] <\sh> ah no [14:11] <\sh> I need an i386 nfsroot [14:20] ErKa (keryell@dhcp1.info.enstb.org) joined #fai. [15:01] \sh: well you should have some class which you always use :) [15:05] <\sh> mgoetze: I don't use any hostbased Classes anymore ;) [15:05] <\sh> I'm smart =,) [15:05] <\sh> but I don't work for IBM [15:07] \sh: ppl working for IBM ain't smart neccessarily. ;) [15:12] <\sh> the tv commercial says so ;) [15:12] 8-) [15:13] TV commercials also told me "Yes, you can" [15:13] and I just can't. ;) [15:13] <\sh> hehe [15:38] ErKa (keryell@dhcp1.info.enstb.org) left irc: Ping timeout: 480 seconds [15:43] <\sh> 17:43 -> time for a little beer [15:49] verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Ping timeout: 480 seconds [16:00] ErKa (keryell@keryell.pck.nerim.net) joined #fai. [17:38] <\sh> have a nice one...going home now [19:20] kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) left irc: Quit: Verlassend [20:39] fai: 3 mt committed revision 5422 to 7 fai: - added bugfix for new mdadm output [20:39] fai: - proper handling of vol_id -l exit code 3 (to be ignored) [20:39] fai: - fixed patch for #532321 as suggested by Cajus [20:44] fai: 3 mt committed revision 5423 to 7 fai: Replaced defined %vg_info by simple %vg_info as suggested by perl compiler [21:12] ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds [21:13] eliseo (~manahil@124.128.154.252) joined #fai. [21:13] Need Sex? Get Laid! famouspornstars.com [21:13] eliseo (manahil@124.128.154.252) left #fai. [21:27] tidd (~pommainv@201.47.123.178) joined #fai. [21:27] Need Sex? Get Laid! famouspornstars.com [21:27] tidd (pommainv@201.47.123.178) left #fai. [21:28] zarkel (~farant@80.148.25.104) joined #fai. [21:28] zarkel (farant@80.148.25.104) left #fai. [21:29] bastien (~wueppelm@93.190.40.80) joined #fai. [21:29] bastien (wueppelm@93.190.40.80) left #fai. [21:31] zlatin (~sudbury@221.1.65.44) joined #fai. [21:31] Need Sex? Get Laid! famouspornstars.com [21:31] zlatin (sudbury@221.1.65.44) left #fai. [22:19] panchmat (~htd@202.141.48.78) joined #fai. [22:19] panchmat (htd@202.141.48.78) left #fai. [00:00] --- Fri Jun 26 2009