rofl__ (takinovah@212.117.169.179) left irc: Remote host closed the connection
ingard (cake@212.117.169.179) left irc: Remote host closed the connection
rofl_ (takinovah@212.117.169.179) joined #fai.
_julian_ (~quassel@hmbg-4d06dfe5.pool.mediaWays.net) joined #fai.
_julian (~quassel@hmbg-4d06b859.pool.mediaWays.net) left irc: Ping timeout: 480 seconds
alekibango (~alekibang@ip-94-113-34-47.net.upcbroadband.cz) joined #fai.
justL1 (~leen@rev-131-102.virtu.nl) joined #fai.
08:26 oz_okay. fai-testing infrastructure seems to be complete now
sneumann (~sneumann@router-sub.ipb-halle.de) joined #fai.
08:44 sneumannHi, I'd like to create a KVM guest with FAI. I could try to have qemu boot via PXE,
08:44 sneumannbut would it be cleaner to do something similar to what's mentioned on
08:44 sneumannhttp://wiki.fai-project.org/wiki/Xen-tools_and_FAI_softupdates
08:44 sneumanni.e. write an image directly ?
psibox_ (~dreger@login.physik.fu-berlin.de) joined #fai.
siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) joined #fai.
msc (~msc@gw1.cgn3.hosteurope.de) joined #fai.
eartoast (~glawe@login.physik.fu-berlin.de) joined #fai.
verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai.
Nic0 (~courtel@fw.tls.cena.fr) joined #fai.
menace (~toddel___@lhm246.muenchen.de) joined #fai.
\sh (~shermann@nat.de.netviewer.com) joined #fai.
10:03 sneumannHi, are there recommendations how to FAI virtual KVM guests ?
siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) left irc: Quit: Leaving.
siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) joined #fai.
Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai.
Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving
Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) joined #fai.
12:09 mgoetzesneumann: personally i have been using virt-install --pxe
12:09 sneumannthx
verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Read error: Connection reset by peer
12:10 mgoetzesneumann: in theory fai dirinstall should be useful too
verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai.
12:11 sneumannI read about dirinstall w.r.t Xen, but I am completely missing the big picture for dirinstall.
12:12 mgoetzebasically it just skips a few tasks, such as partitioning
12:17 sneumannah, so instead of PXE booting, I'd create the image, mount it loopback and call /usr/bin/fai (with or w/o chroot ?) into the target ?
12:17 sneumannAnd supply classes etc. via command line arguments ?
12:18 mgoetzeyou might want to have a short look at fai(8) :)
msantana (msantana@SDF.ORG) joined #fai.
cyril_ (~cyril@icare.eve-team.com) joined #fai.
14:11 cyril_Hi Everybody, sorry for my poor english (i'm french)
14:12 cyril_i have a question about disk_config, i would like set the name of vg_name  with the hostname
14:12 cyril_for example i would like done :  vg $hostname sda3
14:12 cyril_but it work not
14:13 cyril_if somebody know how to do that ?
14:13 Mrfaithere's no variable substitution inside disk_config file available.
14:14 MrfaiBut you can always do something like this by writing a hook
14:14 Mrfaiput the config space on the client into a ram disk: mkramdisk .....
14:15 Mrfaiinsert something like %%HOSTNAME%% into your disk_config file
14:15 Mrfaicall  sed -e "s/%%HOSTNAME%%/$HOSTNAME/" or similar
14:15 MrfaiI hope you get the idea of it
14:16 cyril_you mean, i must launch a "sed" in my disk_config/FAIBASE directly ?
14:16 Mrfaino, no must put in in a hook
14:19 cyril_how i can do that ? i can create for example : hooks/partition.FAIBASE  with sed -e  "s/%%HOSTNAME%%/$HOSTNAME/" /var/lib/fai/config/disk_config/COMPIL  ?
14:20 Nic0You could also give your volume group a standard name, like vg0, and rename it with vgrename in a script at the end of the installation
14:20 cyril_nice idea Nic0
14:21 cyril_maybe more simple for me because i'm a beginner with FAI
14:21 mgoetzeyou'll also need to fix /etc/fstab in that case
14:22 cyril_Nic0,  i can try to do that in scripts/FAIBASE/40-misc for example ?
14:22 cyril_exact mgoetze
14:22 Nic0mgoetze: unless he uses UUIDs
14:22 mgoetzei would recommend that you put all your customisations in a new script, as you might want to update the default ones to new version when a new fai is released
14:23 MrfaiI would use the  hooks/partition.FAIBASE thing. Than no modification on fstab is needed.
14:23 cyril_Yes Mrfai but i'm not able to done your example
14:24 cyril_maybe someone are able to explain me with details ?
14:24 oz_Mrfai: the modification of fstab is no problem
14:24 oz_the idea of Nic0 is excellent
14:24 oz_makes it easy
14:25 cyril_but the idea of Mrfai is more clean i think but not easy
14:26 oz_vgrename should be fine, too
14:26 oz_clean enough
14:26 cyril_yes but you need modify fstab too
14:26 oz_hope this works, tho
14:26 oz_I personally dislike Volume groups
14:27 Mrfaicyril_: I think my solution is easy:
14:27 Mrfaihooks/partition.FAIBASE:
14:27 Mrfaimkramdisk /var/lib/fai/config/
14:27 Mrfaithen the sed command
14:27 MrfaiI think that's it
14:28 cyril_and what i must add in my disk_config/FAIBASE ?
14:29 Mrfaiinstead of the vgname %%HOSTNAME%%. this will the be replaces ny the hostname before calling setup-storage
14:32 oz_Mrfai: I think for a FAI beginner a 'vgrename' is more easy that using a hook
14:33 cyril_i resume, in my disk_config/EXAMPLE   i have one line with vg %%HOSTNAME%%  sda3       next line i have %%HOSTNAME%%-home   /home  10G ext3 defaults
14:33 mgoetzeTIMTOWTDI :)
14:33 cyril_and in hooks/partition.EXAMPLE i have 2 line : mkramdisk /var/lib/fai/config/    
14:33 cyril_and sed -e "s/%%HOSTNAME%%/$HOSTNAME/"
14:33 cyril_that's all ? i can done a test with that ?
14:34 oz_mgoetze: YMMV ;-)
14:34 Mrfaiadd #! /bin/bash as the first line
14:34 Mrfaichmod a+rx
14:34 cyril_ok
14:34 Mrfaithe script
14:35 cyril_i done a test now :)
14:39 cyril_i obtain an error : vgcreate %%HOSTNAME%% sda3
14:39 cyril_command had non-zero exit code
14:39 cyril_error in task partition
14:40 Mrfaiyou need -i with your sed command
14:40 cyril_ok
14:41 cyril_another try :)
14:44 cyril_i have on the screen :
14:44 cyril_calling hook : partition.EXAMPLE
14:44 cyril_and ... nothing ... maybe it's not verbose ?
14:45 cyril_i have an output
14:45 Nic0Lokks like sed is reading STDIN :)
14:45 cyril_tar  : /tmp/tmp.A4mr0GJDT : wrote only 6144 of 10240 bytes
14:46 cyril_tar : error is not recoverable: exiting now
14:46 cyril_sed : no input files
14:46 cyril_partition.EXAMPLE failed with exit code 4
14:46 Nic0Did you give the filename to your sed command?
14:47 cyril_here my partition.EXAMPLE :
14:47 cyril_#!/bin/bash
14:47 cyril_mkramdisk /var/lib/fai/config/
14:47 cyril_sed -i "s/%%HOSTNAME%%/$HOSTNAME/"
14:47 Nic0Add /var/lib/fai/config/EXAMPLE at the end of the sed command
14:47 cyril_thanks Nic0
14:48 Mrfaised also need -e IIRC
14:48 Mrfaicyril_: man sed
14:48 stockholmsed's manpage is horrible.
14:49 cyril_the sed must be done on disk_config/EXAMPLE ?
14:50 cyril_because your path Nic0 /var/lib/fai/config/EXAMPLE don't exist
14:50 cyril_or i forget something ...
14:50 Nic0It should exist inside the nfsroot
14:51 oz_Mrfai: see? a 'vgrename' is simpler for a beginner
14:52 cyril_in /var/lib/config i have only directory class, debconf, disk_config and so on
14:54 Nic0cyril: your fai config directory is mounted on /var/lib/fai/config on the host during the FAI installation
14:54 cyril_yes but only in read only
14:54 Mrfaitherefore you call mkramdisk ...
14:54 Nic0This is why Mrfai told you to make a ramdisk
14:55 Nic0Oops
15:00 cyril_an i can not done in the hooks/EXAMPLE : sed -i "s/%%HOSTNAME%%/$HOSTNAME/" /var/lib/fai/config/disk_config/EXAMPLE   ?
Action: sneumann has an FAI booting KVM instance. It's important to install the kvm-pxe BIOS package ...
15:02 cyril_because with the mkramdisk i have the folllowing error : tar /tmp/tmp.Qi2eq28ghX : Cannot write : No space left on device
15:02 cyril_howto increase the space ?
15:11 Nic0man mkramdisk
15:11 Nic0Unless you specify a size, it's only 512 bytes
oz_ (oz@anubis.coresystems.de) left #fai (TIMTOWTDI - YMMV - YMMD - SNAFU).
15:20 Mrfaicyril_: try mkramdisk /var/lib/fai/config/disk_config
15:20 Mrfaithat should be enough
15:20 MrfaiNic0: nonsens. Unless you specify a size it's half of the size of RAM
15:21 cyril_in fact i have 1.4G  on /  but during the mkramdisk i have a no space left
15:21 cyril_why ? 1.4G is not enough ?
15:23 cyril_i have may be an answer : in the directory config/files/ i have a tar file (5G) . the mkramdisk use config/files/  directory ?
15:23 Mrfaithat's the reason why you get the error. Therefore use mkramdisk  /var/lib/fai/config/disk_config
15:23 Mrfaithis will not need that much space
15:23 cyril_ok i will done a test
15:23 cyril_thanks for you support Mrfai
15:24 Mrfaiyou're welcome.
15:24 cyril_and sorry for my english
15:24 Mrfaino problemn
sneumann (~sneumann@router-sub.ipb-halle.de) left irc: Ping timeout: 480 seconds
menace (~toddel___@lhm246.muenchen.de) left irc: Remote host closed the connection
justL1 (~leen@rev-131-102.virtu.nl) left irc: Quit: Leaving.
msc (~msc@gw1.cgn3.hosteurope.de) left irc: Quit: msc
16:28 cyril_Mrfai, i done the test with your path and it works
16:29 cyril_but now if have the following error : can't preserve /dev/%%HOSTNAME%%/home because it does not exist
16:32 MrfaiThat should not happen, because task_partition does not see  %%HOSTNAME%% at all. Or your sed command did not work.
16:37 cyril_ok i'll check
16:43 cyril_Big Kiss Mrfai  :)
16:43 cyril_it works :)
verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat
17:14 Mrfaifine. Do not forget to fill out the FAI questionnaire laster. fai-project.org/questionnaire
psibox_ (~dreger@login.physik.fu-berlin.de) left irc: Quit: leaving
siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) left irc: Ping timeout: 480 seconds
Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) left irc: Quit: leaving
sneumann (~sneumann@p5B0F3E13.dip.t-dialin.net) joined #fai.
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
msantana (msantana@SDF.ORG) left irc: Quit: Coyote finally caught me
we9rw (~sdf09s@83TAAEAZJ.tor-irc.dnsbl.oftc.net) joined #fai.
we9rw (sdf09s@83TAAEAZJ.tor-irc.dnsbl.oftc.net) left #fai.
utnapishtim (~8343@83TAAEAZK.tor-irc.dnsbl.oftc.net) joined #fai.
utnapishtim (~8343@83TAAEAZK.tor-irc.dnsbl.oftc.net) left irc: Remote host closed the connection
utnapishtim (~8343@83TAAEAZL.tor-irc.dnsbl.oftc.net) joined #fai.
utnapishtim (~8343@83TAAEAZL.tor-irc.dnsbl.oftc.net) left irc:
utnapishtim (~8343@83TAAEAZM.tor-irc.dnsbl.oftc.net) joined #fai.
utnapishtim (~8343@83TAAEAZM.tor-irc.dnsbl.oftc.net) left irc: Quit: Quit
utnapishtim (~8343@83TAAEAZN.tor-irc.dnsbl.oftc.net) joined #fai.
utnapishtim (~8343@83TAAEAZN.tor-irc.dnsbl.oftc.net) left irc: Quit: Quit
utnapishtim (~blafa3@83TAAEAZP.tor-irc.dnsbl.oftc.net) joined #fai.
Nick change: utnapishtim -> gilgamesh
Nick change: gilgamesh -> utnapishtim
utnapishtim (~blafa3@83TAAEAZP.tor-irc.dnsbl.oftc.net) left irc:
utnapishtim (~blafa3@83TAAEAZR.tor-irc.dnsbl.oftc.net) joined #fai.
\sh (~shermann@nat.de.netviewer.com) left irc: Remote host closed the connection
utnapishtim (~blafa3@83TAAEAZR.tor-irc.dnsbl.oftc.net) left irc: Quit: Quit
22:10 alekibangohi, everyone sleeping?   i am looking for a way how to install upstart using fai on debian squeeze. It fails, because sysinitv is essential package... There in the log the installer is asking for  Yes, I am aware this is a very bad idea.....
sneumann (~sneumann@p5B0F3E13.dip.t-dialin.net) left irc: Ping timeout: 480 seconds
--- Tue Feb 15 2011

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