| ErKa (keryell@wireless-357.sc09.org) joined #fai. |
| amgarchIn9 (~amgarchin@p4FF01FC1.dip0.t-ipconnect.de) left irc: Remote host closed the connection |
| ErKa (keryell@wireless-357.sc09.org) left irc: Ping timeout: 480 seconds |
| sep (~sep@40.211.jostedal.no) left irc: Remote host closed the connection |
| sep (~sep@40.211.jostedal.no) joined #fai. |
| 07:41 incognitu | morning |
| 07:43 incognitu | question.. when installing a client at some point its doing 'updating base system' then it wants to connect to ftp.debian.org and ftp.security.debian.org but i have a local mirror on the install server |
| 07:43 incognitu | where can i specify it should use the local mirror as there is no internet on the client |
| allee-k_ (~allee-k@p54A445F2.dip.t-dialin.net) joined #fai. |
| Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai. |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. |
| allee-k_ (~allee-k@p54A445F2.dip.t-dialin.net) left irc: Remote host closed the connection |
| allee-k (~allee-k@p54A445F2.dip.t-dialin.net) joined #fai. |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Ping timeout: 480 seconds |
| 09:05 \sh | moins |
| 09:18 mgoetze | incognitu: /etc/fai/apt/sources.list, then rerun make-fai-nfsroot |
| BlindBunny (~goetz@137.226.154.184) joined #fai. |
| 11:06 BlindBunny | Hi! Is there a way to make fcopy pick files based on an 'and' combination of classes? E.g. to copy a file only if the classes I386 and XORG are specified? |
| 11:10 \sh | BlindBunny, checkout "ifclass <CLASSNAME> && ifclass <ANOTHERCLASSNAME>" |
| 11:11 \sh | used e.g. in the samples for LILO class (20-create-liloconf or so) |
| 11:13 BlindBunny | Hm, yeah, the problem I see with that solution is that it needs a case-by-case handling for every combination and file. I was hoping that I can do a recursive fcopy and express the and relationships through the file names which would make it really easy to use. |
| 11:14 mgoetze | BlindBunny: it's not possible with just fcopy, sorry :( |
| 11:15 BlindBunny | If I provided a patch to fcopy to that effect, do you think there would be interest to add it to FAI - I mean functionality-wise and code-quality issues etc. aside? |
| 11:15 mgoetze | i certainly think it would be a good idea, though we'd have to think about what the best semantics are |
| 11:16 mgoetze | Mrfai: have you specified anywhere which characters are legal in class names? |
| 11:16 BlindBunny | Well, a space would be natural separator... |
| 11:16 mgoetze | hm... file names with spaces are unwieldy though |
| 11:17 \sh | if you think about such a functionatlity, I would more prefer some "adding of classes" e.g. you have a scripts dirname like "CLASS1+CLASS2" which will be executed when CLASS1 and CLASS2 are set |
| 11:17 BlindBunny | Well, files named for FAI classes in directories named after the original file name are, well, not my favourite kind of chocolate either ;-) |
| 11:18 mgoetze | BlindBunny: heh :) but that's a design decision which has already been taken, i don't think we should change it casually |
| 11:18 BlindBunny | \sh: yeah, it would be cool if this could be applied beyond fcopy |
| 11:20 mgoetze | we could use the unicode set intersection character U+2229 :) |
| 11:20 BlindBunny | Anyway, thanks for the answers. I'll come back with a proposal, if I find the time (i.e. never? We'll see) |
| 11:20 BlindBunny | sorry, gotta go, cu |
| 11:20 mgoetze | CLASS1)CLASS2 |
| BlindBunny (goetz@137.226.154.184) left #fai. |
| 11:21 \sh | mgoetze, hmm...a good design change could be: $FAI/files/<CLASSNAME>/<a bunch of files and dirs which needs to be copied for CLASSNAME> and we can tell fcopy to a) copy everything for CLASSNAME from $FAI/files/<CLASSNAME> or b) explicitly tell fcopy to copy only one file from $FAI/files/<CLASSNAME/<dir structure>/<filename> |
| 11:23 mgoetze | \sh: well i'm not sure. i think files/lib/modules/2.6.24-25-generic/updates/bnx2.ko/HARDY{32,64} is more practical than files/HARDY{32,64}/lib/modules/2.6.24-25-generic/updates/bnx2.ko |
| 11:24 mgoetze | especially since this is something i only want to install on certain hardware types, regardless of which distro... |
| 11:25 mgoetze | however, files/HARDY32)BNXMODULE/lib/... might be nice, then i could fcopy everything over with no worries that something unwanted will get installed |
| 11:26 \sh | mgoetze, hmmm.. |
| 11:27 incognitu | thx mgoetze i found it already :) |
| 11:28 incognitu | can i create different installations where users can choose from at pxeboot? |
| 11:28 mgoetze | incognitu: yes |
| 11:28 incognitu | is that documentated somewhere? |
| 11:29 mgoetze | incognitu: well, uh... kinda... :) |
| 11:29 incognitu | in the official pdf? |
| 11:29 mgoetze | if you read the documentation for pxelinux, fai guide, something telling you how a kernel command line works, and put all that information together :) |
| 11:30 mgoetze | i have a script in class/ which does stuff like |
| 11:30 incognitu | hmm in not an expert @ linux but ill try |
| 11:30 mgoetze | if grep HARDY32 /proc/cmdline > /dev/null |
| 11:30 mgoetze | then |
| 11:30 mgoetze | echo "MH_HARDY HARDY32" |
| 11:30 mgoetze | elif grep HARDY64 /proc/cmdline > /dev/null |
| 11:30 mgoetze | and so on... |
| 11:30 incognitu | will probably call your help later on :) |
| 11:30 incognitu | if u dont mind |
| 11:31 mgoetze | sure |
| 11:31 incognitu | thx |
| pjustice (~pjustice@yagi.h-net.msu.edu) left irc: Ping timeout: 480 seconds |
| pjustice (~pjustice@yagi.h-net.msu.edu) joined #fai. |
| Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving |
| Mrfai (~lange@suenner.informatik.uni-koeln.de) joined #fai. |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat |
| 13:11 incognitu | mgoetze |
| 13:11 incognitu | now i want to use my windows dhcp server for fai |
| 13:11 incognitu | so we dont have 2 dhcps who is giving out ip |
| 13:11 incognitu | i already did: https://lists.uni-koeln.de/pipermail/linux-fai/2005-June/003217.html |
| 13:12 incognitu | but not sure what to do next |
| 13:15 \sh | incognitu, you need to set next-server <ip of your tftp> on your windows dhcp server |
| 13:16 \sh | for the range of ip addresses e.g. |
| sep (~sep@40.211.jostedal.no) left irc: Remote host closed the connection |
| sep (~sep@40.211.jostedal.no) joined #fai. |
| 13:21 incognitu | wich number is that \sh? |
| sep (~sep@40.211.jostedal.no) left irc: Remote host closed the connection |
| 13:22 \sh | incognitu, -EIMNOTWINDOWSADMINNEVEREVER |
| 13:22 incognitu | cant find it in the option of the dhcp server |
| 13:22 incognitu | hehe |
| 13:23 incognitu | but is it possible that i can choose fai for linux or wds for windows from a menu? |
| 13:23 \sh | incognitu, http://www.wtware.com/docs/dhcp.html <- 066 |
| 13:24 \sh | and bootfile name is 067 according to that page |
| 13:24 \sh | http://wtware.com/netman/netman1.html#dhcp another good pointer |
| 13:25 \sh | oh how I hate windows ;) |
| 13:25 oz_ | oh yes. |
| 13:25 incognitu | hehe haters |
| 13:26 incognitu | those are both already checked |
| 13:26 incognitu | i just want to make an entry in the wds pxe boot menu for fai |
| 13:26 mgoetze | i don't use windows at all, fortunately :) |
| 13:27 mgoetze | incognitu: next you'll be wanting to boot linux with NTLDR |
| 13:27 incognitu | unfortunately i have to use both |
| 13:27 incognitu | yes |
| 13:27 \sh | incognitu, /me does everything the other way around...we have fai + altiris... and our dhcp is giving out the IP addresses and we have two different deployment native vlans ... so this works really well... |
| 13:28 \sh | our dhcp == dhcpd on linux :) |
| 13:28 incognitu | not gonna happen here |
| 13:28 incognitu | dhcp is and stays in windows 2003 |
| 13:28 incognitu | *2008 |
| 13:28 \sh | here it makes sense, because it's only a matter of a few months, till we destroy all windows crap |
| 13:29 \sh | all people convinced to go the linux way and not anymore the windows way |
| simNIX (~simNIX@156-60.bbned.dsl.internl.net) left irc: Quit: Ik ga weg |
| 13:44 oz_ | we have no windoze server here, too |
| 13:45 oz_ | my $co(w)admin wanted a windoze server... |
| 13:45 oz_ | but since I told him to give the box a nice level -19 in VMware to topic did not pop up anymore. |
| allee-k_ (~allee-k@vpn13134.mpe.mpg.de) joined #fai. |
| sep (~sep@40.211.jostedal.no) joined #fai. |
| allee-k (~allee-k@p54A445F2.dip.t-dialin.net) left irc: Ping timeout: 480 seconds |
| 14:29 incognitu | hmm |
| 14:29 incognitu | fai-setup -v |
| 14:29 incognitu | adduser: Please enter a username matching the regular expression configured |
| 14:29 incognitu | via the NAME_REGEX configuration variable. Use the `--force-badname' |
| 14:29 incognitu | never had that before |
| 14:30 oz_ | ??? |
| 14:32 incognitu | that output |
| 14:32 incognitu | what to do with that |
| 14:34 oz_ | .o0( one needs to put "set -x" in the beginning of the script and debug that adduser call) |
| 14:35 oz_ | incognitu: best would be if Mrfai would read that, he knows the line where to fix it |
| 14:35 oz_ | I have work. :-/ |
| 14:36 incognitu | hmm ok |
| 14:42 incognitu | weird because regex is disabled |
| pav5088 (Mark@ppp118-208-187-14.lns20.bne4.internode.on.net) left #fai (Leaving). |
| 14:59 Mrfai | adduser --system --disabled-password --home /var/log/fai --gecos "FAI account for log files" $LOGUSER |
| 15:04 incognitu | that line is already there |
| 15:09 incognitu | ok i added force badname now it works |
| 15:09 incognitu | but diff output as before when i ran fai-setup -v |
| 15:14 Mrfai | incognitu: which linux are you running? which version? |
| 15:18 incognitu | debian lenny |
| 15:19 incognitu | fai-chboot -IFv demohost cant i make something that it installs all host who connect on that pxe server? |
| 15:19 incognitu | fai-chboot -IFv * doesnt work |
| 15:19 mgoetze | fai-chboot -IFv default |
| 15:20 incognitu | ah ty |
| 15:25 Mrfai | incognitu: etc/adduser.conf: |
| 15:25 Mrfai | # check user and group names also against this regular expression. |
| 15:25 Mrfai | #NAME_REGEX="^[a-z][-a-z0-9]*\$" |
| 15:25 Mrfai | I think you have changed this |
| 15:27 incognitu | no 100% sure |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. |
| donnie_darko (~Robert@93.83.155.242) left irc: Quit: Leaving |
| |kardan| (~kardan@p54BE5C89.dip.t-dialin.net) joined #fai. |
| kardan_ (~kardan@p54BE2BFB.dip.t-dialin.net) left irc: Ping timeout: 480 seconds |
| Mrfai (~lange@suenner.informatik.uni-koeln.de) left irc: Quit: leaving |
| ErKa (keryell@wireless-357.sc09.org) joined #fai. |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat |
| ErKa (keryell@wireless-357.sc09.org) left irc: Ping timeout: 480 seconds |
| Nic0 (~courtel@fw.tls.cena.fr) left irc: Quit: Leaving. |
| allee-k__ (~allee-k@p54A445F2.dip.t-dialin.net) joined #fai. |
| allee-k_ (~allee-k@vpn13134.mpe.mpg.de) left irc: Ping timeout: 480 seconds |
| ErKa (keryell@wireless-357.sc09.org) joined #fai. |
| amgarchIn9 (~amgarchin@p4FF01CD0.dip0.t-ipconnect.de) joined #fai. |
| ErKa (keryell@wireless-357.sc09.org) left irc: Ping timeout: 480 seconds |
| allee-k (~allee-k@p54A445F2.dip.t-dialin.net) joined #fai. |
| allee-k__ (~allee-k@p54A445F2.dip.t-dialin.net) left irc: Ping timeout: 480 seconds |
| amgarching (~amgarchin@p4FF01CD0.dip0.t-ipconnect.de) joined #fai. |
| amgarchIn9 (~amgarchin@p4FF01CD0.dip0.t-ipconnect.de) left irc: Read error: Connection reset by peer |
| allee-k (~allee-k@p54A445F2.dip.t-dialin.net) left irc: Ping timeout: 480 seconds |
| allee-k (~allee-k@p54A445F2.dip.t-dialin.net) joined #fai. |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Ping timeout: 480 seconds |
| --- Sat Nov 21 2009 |