| 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 uchimata | ok, 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 mgoetze | does anyone have a howto for testing FAI locally with, say, KVM? |
| 11:08 glance | installing a kvm machine is no diffrent from installing a physical machine. |
| 11:29 mgoetze | well yeah, but you need to set up virtual network with dhcp and pxe and such... |
| 11:29 mgoetze | it 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 mgoetze | right, so i thought maybe someone might have written a howto |
| 11:31 mgoetze | if 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 mgoetze | well i searched for "kvm" and got no matches |
| 11:36 oz_ | mgoetze: the wiki doesn't match word<4 chars iirc |
| 11:36 mgoetze | searching 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 mgoetze | well, guess that means i should just do it and write a howto myself :) |
| 11:48 uchimata | I'm currently just testing with 2 vmware vms, and it works fine |
| 11:48 uchimata | 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=<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 \sh | mgoetze: hmm...when are the *.var files sourced in? after 50-host-classes or before? |
| 12:03 mgoetze | after all the class scripts |
| 12:05 \sh | so 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 \sh | no didn't work |
| 12:08 \sh | I wonder from where $HOSTNAME comes |
| 12:09 mgoetze | 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 oz_ | \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 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_bo | 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 Winkie | using 'O' as a filehandle is kinda confusing, all modern perl versions support using a scalar: |
| 12:32 Winkie | my $fh; open $fh, '<', $filename; while (<$fh>) etc |
| 12:32 Winkie | 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 Winkie | \sh: i was just being pedantic ;) |
| 12:38 Winkie | 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 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 mgoetze | 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 |
| uchimata_ (~uchimata@i3ED6D63E.versanet.de) joined #fai. |
| 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 |
| ErKa (keryell@dhcp1.info.enstb.org) joined #fai. |
| 15:01 mgoetze | \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 oz_ | \sh: ppl working for IBM ain't smart neccessarily. ;) |
| 15:12 \sh | the 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 \sh | hehe |
| ErKa (keryell@dhcp1.info.enstb.org) left irc: Ping timeout: 480 seconds |
| 15:43 \sh | 17: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 \sh | have a nice one...going home now |
| kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) left irc: Quit: Verlassend |
| 20:39 FBI | fai: 3 mt committed revision 5422 to 7 fai: - added bugfix for new mdadm output |
| 20:39 FBI | fai: - proper handling of vol_id -l exit code 3 (to be ignored) |
| 20:39 FBI | fai: - fixed patch for #532321 as suggested by Cajus |
| 20:44 FBI | fai: 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 eliseo | Need Sex? Get Laid! famouspornstars.com |
| eliseo (manahil@124.128.154.252) left #fai. |
| tidd (~pommainv@201.47.123.178) joined #fai. |
| 21:27 tidd | Need 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 zlatin | Need 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 |