| _julian_ (~quassel@hmbg-4d06c750.pool.mediaWays.net) joined #fai. |
| _julian (~quassel@hmbg-5f765e63.pool.mediaWays.net) left irc: Ping timeout: 480 seconds |
| Kinglui (~nix.email@195.122.130.2) left irc: |
| 01:25 fai45 | hello |
| 01:26 fai45 | another update; the problem seems to be that the 'depends' packages for ubuntu-desktop get installed, but the 'recommends' packages do not (per packages.ubuntu.com/lucid/ubuntu-desktop) |
| 01:37 fai45 | i can see in fai.log that aptitude is given -R which tells it not to install recommends packages. i want to change this. |
| 01:47 fai45 | okay, a careful read of section 7.8 suggests i use aptitude-r instead of aptitude in package-config/CLASS. |
| sneumann (~sneumann@router-sub.ipb-halle.de) joined #fai. |
| pav5088_ (~Mark@ppp118-208-96-115.lns20.bne4.internode.on.net) left irc: Remote host closed the connection |
| pav5088 (~Mark@ppp118-208-96-115.lns20.bne4.internode.on.net) joined #fai. |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. |
| sneumann (~sneumann@router-sub.ipb-halle.de) left irc: Read error: Connection reset by peer |
| sneumann (~sneumann@router-sub.ipb-halle.de) joined #fai. |
| ErKa (~keryell@APuteaux-154-1-46-249.w83-199.abo.wanadoo.fr) joined #fai. |
| ErKa (~keryell@APuteaux-154-1-46-249.w83-199.abo.wanadoo.fr) left irc: Ping timeout: 480 seconds |
| ErKa (~keryell@APuteaux-154-1-46-249.w83-199.abo.wanadoo.fr) joined #fai. |
| 09:07 Ahmtah | Good day, I tried to save my 1st and 2nd partition, but how can I force boot from 1st partition? |
| 09:07 Ahmtah | this is my disk config http://paste.debian.net/120039/ |
| ErKa (~keryell@APuteaux-154-1-46-249.w83-199.abo.wanadoo.fr) left irc: Ping timeout: 480 seconds |
| ErKa (~keryell@APuteaux-154-1-46-249.w83-199.abo.wanadoo.fr) joined #fai. |
| Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) joined #fai. |
| codice (~codice@75-140-71-24.dhcp.lnbh.ca.charter.com) left irc: Ping timeout: 480 seconds |
| ErKa (~keryell@APuteaux-154-1-46-249.w83-199.abo.wanadoo.fr) left irc: Ping timeout: 480 seconds |
| 10:08 coda | hi there! excuse me guys, what's the best way to include a set of scripts made by my own to all my future installations? does it work if I chroot to NFSROOT and put my scripts somewhere there? |
| 10:09 coda | I mean, I'd like to include a backup client and a set of scripts to check some processes |
| 10:11 Uetzguer | imho, the best way is to package them as .debs and then install these via the normal method |
| 10:12 oz__ | coda: install scripts of post-install scripts? |
| 10:12 oz__ | normally $fai/scripts is the place |
| 10:14 coda | yeap, actually is a set of scripts that are executed by crontab every a few mins to check the system status and open a troubleticket if something fails |
| 10:16 coda | oh, ok.. and for example, if I would want to create a class, let's say ORACLE, and use it to include/copy the installation binaries to the client, is it possible to achieve? |
| 10:16 oz__ | coda: you mean, these scripts are supposed to run on the clients after installation? |
| 10:16 coda | (sorry for my poor english :P) |
| 10:16 coda | oz__: correct |
| 10:16 oz__ | read the fai Guide, go ahead |
| 10:20 coda | oz__: sorry :S |
| codice (~codice@75-140-71-24.dhcp.lnbh.ca.charter.com) joined #fai. |
| 10:29 oz__ | why sorry? |
| 10:30 oz__ | you just formulated your plan, that good |
| 10:30 oz__ | now config fai to install your plan |
| sneumann (~sneumann@router-sub.ipb-halle.de) left irc: Ping timeout: 480 seconds |
| 10:51 coda | oz__: right :P |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat |
| 10:52 coda | oz__: let's see what I can do :) |
| 10:56 yeshellothere | right i'm back in the office now |
| 10:57 yeshellothere | (unfortunately) |
| 10:57 yeshellothere | lets see what i can do with this VM |
| 10:58 yeshellothere | if i could find the machine it's on lol |
| ErKa (~keryell@92.90.20.192) joined #fai. |
| ErKa (~keryell@92.90.20.192) left irc: Remote host closed the connection |
| 12:25 yeshellothere | so uh |
| 12:25 yeshellothere | the PPA has no natty packages |
| 12:26 yeshellothere | srsly this is getting ridiculous |
| 12:29 h01ger | does someone here has experience with bcfg2? /me wonders if it could be integrated like cfengine... |
| 12:46 yeshellothere | i'm installing fai on debian lenny now, lets see if i can get an ubuntu install working from here |
| 12:54 fai45 | I've got an Ubuntu 10.04 LTS install working. |
| 12:56 yeshellothere | fai45: from debian? |
| 12:57 fai45 | No, with 10.04 as the install server as well. Packages from the PPA. |
| 12:59 yeshellothere | ah, well i'll try that if i can't find an alternate method with just debian and the mkbase script |
| 12:59 yeshellothere | thanks fai45 |
| 13:02 oz__ | yeshellothere: installing ubuntu form debain ist straightforward |
| 13:02 oz__ | create base.tgz, packagelist and off you go |
| 13:05 yeshellothere | oz__: i guess you meant to say 'is' :p |
| 13:05 yeshellothere | oz__: my problem is in creating a good base.tgz i guess |
| 13:05 yeshellothere | i'm just installing on lenny now, hit a postfix bug i had to resolve |
| 13:16 oz__ | yeshellothere: create it on an ubuntu-box with "debootstrap --include=aptitude --exclude=info <ubuntu-release> ubuntu-chroot <ubuntu-pkg-source>" |
| 13:21 yeshellothere | oz__: interesting idea, i don't have any 11.04 boxes but i could do that |
| 13:21 yeshellothere | then tar -cvjf chroot-directory i guess? |
| 13:23 oz__ | yeshellothere: the 'idea' is the normal recommended way |
| 13:23 yeshellothere | oz__: the only recommended way on the wiki is to use examples/simple/basefiles/mk-basefile |
| 13:23 yeshellothere | the 'installing ubuntu' page just says 'it all works fine!' which i find funny |
| 13:24 oz__ | :) |
| 13:24 oz__ | yah, that's funny |
| 13:24 oz__ | unless you have to do it in a short period of time |
| 13:24 oz__ | yeshellothere: what I suggest is the basefile thing |
| 13:25 oz__ | debootstrap creates the basefiles |
| fai45 (80028e46@ircip1.mibbit.com) left irc: Quit: http://www.mibbit.com ajax IRC Client |
| 13:30 yeshellothere | oz__: yeah it makes sense, i'll just have to find a CD etc to get it installed :D |
| 13:30 oz__ | yeshellothere: ;) |
| 13:30 oz__ | d\l |
| 13:30 oz__ | d\l iso |
| 13:33 yeshellothere | heh, turns out mk-basefile isn't shipped with debian packages, at least it seems not |
| 13:33 oz__ | ???? |
| 13:33 yeshellothere | i just wanted to look at the code |
| 13:39 yeshellothere | uh |
| 13:39 yeshellothere | what the heck |
| 13:39 yeshellothere | there's no source code link on the site? |
| 13:39 yeshellothere | ah spotted it |
| 13:39 h01ger | there really should be #fai-ubuntu |
| 13:39 Mrfai | http://anonscm.debian.org/viewvc/fai/trunk/examples/simple/basefiles/mk-basefile?view=markup |
| 13:40 Mrfai | yeshellothere: the mk-basefile is not included in 3.4.8. But use the url above |
| 13:41 Mrfai | h01ger: no. There should be ready-to-go FAI packages for ubuntu for all Ubuntu version. But somethimes we have only packages in PPA. :-( |
| 13:42 h01ger | Mrfai, do you seriously believe that day will comes with all those constant changes in ubuntu? i dont |
| 13:42 yeshellothere | Mrfai: yeah i found it thanks :) |
| 13:42 yeshellothere | and h01ger i wouldn't mind if at least the instructions were accurate, i mean it's perfectly possible there was something wrong with my ubuntu install |
| 13:43 yeshellothere | but people are saying i should go with kickstart and it seems even more of a hack :( |
| 13:43 h01ger | .oO( there is always something wrong with an ubuntu install... SCNR ) |
| 13:43 oz__ | h01ger: 8-D |
| 13:43 h01ger | Mrfai, maybe a #fai-devel channel would do |
| 13:44 oz__ | fai-user and fai-devel, ya |
| 13:44 yeshellothere | h01ger: i am not the biggest ubuntu fan, but my desktop users are |
| 13:44 yeshellothere | puts me in a tricky situation when i build a VM and get all sorts of errors :( |
| 13:45 h01ger | my question about bcfg2 got lost in noise... |
| 13:45 h01ger | "noise" - sorry |
| 13:45 mikap | h01ger: what should be different than running cfengine, puppet,...? ;) |
| 13:45 mikap | install it, fire and forget? |
| 13:46 Mrfai | I think nearly all discussions here are #fai-user. Those few developers discussions don't matter here. And it's better to keep things simple. So please let us use one channel for FAI. |
| 13:46 yeshellothere | haha, so Mrfai maybe you're teh best person to ask, can you debootstrap a valid ubuntu base.tar.gz from a debian lenny machine? |
| 13:46 yeshellothere | i'm looking at installing maverick or natty with it |
| 13:46 yeshellothere | and the current mk-basefile doesn't support either, figure i'll do it manually |
| 13:46 h01ger | mikap, i wonder if i can put it into scripts/ like cfengine or shell scripts. this kind of integration afaik doesnt work with puppet+fao |
| 13:46 h01ger | fai |
| 13:47 mikap | h01ger: i just wouldn't do that, YMMV :) |
| 13:47 Mrfai | yeshellothere: I don't know if this is possible, because I never did it. IIRC in natty you have to add aptitude to the nfsroot, because is not included by default any more. |
| 13:47 h01ger | mikap, so you would put some configs in bcfg2 and some in fai - or what? |
| 13:48 mikap | h01ger: bootstrap with debian, use $CONFIG_MANAGEMENT from then on |
| 13:48 mikap | aeh, bootstrap with fai |
| 13:49 yeshellothere | Mrfai: i will have to try, i wish i had more time to work with this |
| 13:50 h01ger | mikap, ok. i'd like to do $CONFIG_MANAGEMENT with fai but i guess i will give up the idea eventually |
| 13:50 h01ger | :( |
| 14:22 yeshellothere | right ok so i'm building a base tarball with debootstrap, lets see what i can do with it from there |
| 14:26 yeshellothere | ah yes, i remember this problem |
| 14:26 yeshellothere | it sets up a broken dpkg by default for some reason |
| 14:26 yeshellothere | dpkg: error: parsing file '/var/lib/dpkg/status' near line 2 package 'dpkg': error in Version string '': version string is empty |
| 14:33 oz__ | yeshellothere: your plan is to install ubuntu for debian right? |
| 14:34 yeshellothere | oz__: ubuntu from debian yes |
| 14:34 yeshellothere | an updated version of debootstrap seems to have made the base image jsut fine |
| 14:36 oz__ | ubuntu 11.04? |
| 14:37 yeshellothere | oz__: yeah ideally |
| 14:37 coda | oz__: excuse me oz, I've been reading through the fai guide and sample scripts (believe me, I feel like an idiot :P), but I couldn't find a way to copy files that are not in the NFSROOT to my client during installation :( |
| 14:38 yeshellothere | coda: where are the files located? |
| 14:39 oz__ | yeshellothere: I had nada problem with the debootstrap shiped with 11.04 |
| 14:39 oz__ | coda: read "man fcopy" |
| 14:39 Mrfai | coda: normally you copy files from the config space to your clients. Not from the nfsroot. |
| 14:40 oz__ | maybe we shoudl ask a real author to write the FAI docu...Stephen King? |
| 14:41 yeshellothere | oz__: well it seems to be going ok so far |
| 14:41 yeshellothere | i now have a natty-base.tgz and a debian FAI install |
| 14:41 yeshellothere | so i'll copy the example confs and see |
| 14:42 oz__ | yeshellothere: iirc you just need the right pkg config and I had some trouble \w the grub |
| 14:43 oz__ | gold:~# find /srv/fai/config -type f -name "UBUNTU*" |
| 14:43 oz__ | /srv/fai/config/package_config/UBUNTU_11_04 |
| 14:43 oz__ | /srv/fai/config/disk_config/UBUNTU_11_04 |
| 14:43 oz__ | /srv/fai/config/basefiles/UBUNTU_11_04.tar |
| 14:43 oz__ | no the trouble with grub I had \w squeeze :) |
| 14:44 oz__ | the files above as everything special I have for ubuntu |
| 14:44 yeshellothere | smashing |
| 14:44 yeshellothere | well the debian base install seems to be going just fine too |
| 14:44 oz__ | smashing? |
| 14:44 coda | oz__: ok, but as far as I see, fcopy copies files using classes and I've used it to copy some extra config files without problems.. what I'm trying to do is (for example) to copy an entire directory to the client if needed, or an .iso file, or a .tgz located somewhere else on my server |
| 14:44 yeshellothere | it's an expression of pleasure :) |
| 14:45 yeshellothere | "Extraordinarily impressive or fine; wonderful" |
| 14:46 yeshellothere | oz__: i sent you a PM with my email address btw |
| 14:46 coda | oz__: so I was thinking if it would be a good idea to export an extra directory with the files I need, or if I should include them in the /srv/fai/config/files/ somehow.. (again, sorry by my poor english..) |
| 14:46 oz__ | coda: use scripts? |
| 14:47 oz__ | fcopy -r? |
| 14:47 oz__ | many solutions |
| 14:48 coda | oz__: thank you again |
| 14:49 Ahmtah | yeshellothere: you should use debootstrap to create the basefile; for example UBUNTU1104.tgz |
| 14:49 Ahmtah | and put it into /srv/fai/config/basefiles |
| 14:49 yeshellothere | Ahmtah: already done, i just want to see what oz__ is using for his config files |
| 14:49 coda | oz__: I didn't see the -s argument before, sorry |
| 14:51 Ahmtah | don't forget to configure the /etc/apt/sources.list at the client by creating /srv/fai/config/hook/prepareapt.UBUNTU1104 |
| 14:52 yeshellothere | Ahmtah: oh thanks, i'll check it out |
| 14:52 yeshellothere | it turns out i have an extra few days on this |
| 14:52 yeshellothere | so i'm quite confident now :) |
| 14:53 yeshellothere | it seems that the correct solution to ubuntu problems is: use debian |
| 14:53 yeshellothere | that should probably be sewn onto something somewhere |
| 15:00 yeshellothere | oz__: did you get my PM? |
| 15:13 yeshellothere | guess not, thanks for the help Ahmtah and oz__ |
| 15:13 yeshellothere | i'll work on this tomorrow |
| fai45 (80028e46@ircip1.mibbit.com) joined #fai. |
| 16:30 coda | does anybody know how to mount an extra 'NFS export' on the client side? |
| 16:30 coda | oh, nevermind :S |
| 17:17 h01ger | what about the plans to fix some bugs in 3.4.7 in squeeze? |
| 17:19 h01ger | ah. /me just read mail again |
| Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) left irc: Quit: leaving |
| 18:11 fai45 | Question: how to set a partition's boot flag in e.g. config/disk_config/FAIBASE ? |
| 19:51 fai45 | bootable:1 was the magic I needed |
| fai45 (80028e46@ircip1.mibbit.com) left irc: Quit: http://www.mibbit.com ajax IRC Client |
| ErKa (~keryell@keryell.pck.nerim.net) joined #fai. |
| ErKa (~keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds |
| ErKa (keryell@keryell.pck.nerim.net) joined #fai. |
| ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds |
| --- Fri Jun 17 2011 |