[00:01] rofl__ (takinovah@212.117.169.179) left irc: Remote host closed the connection [00:02] ingard (cake@212.117.169.179) left irc: Remote host closed the connection [00:07] rofl_ (takinovah@212.117.169.179) joined #fai. [01:44] _julian_ (~quassel@hmbg-4d06dfe5.pool.mediaWays.net) joined #fai. [01:51] _julian (~quassel@hmbg-4d06b859.pool.mediaWays.net) left irc: Ping timeout: 480 seconds [04:35] alekibango (~alekibang@ip-94-113-34-47.net.upcbroadband.cz) joined #fai. [07:50] justL1 (~leen@rev-131-102.virtu.nl) joined #fai. [08:26] okay. fai-testing infrastructure seems to be complete now [08:41] sneumann (~sneumann@router-sub.ipb-halle.de) joined #fai. [08:44] Hi, I'd like to create a KVM guest with FAI. I could try to have qemu boot via PXE, [08:44] but would it be cleaner to do something similar to what's mentioned on [08:44] http://wiki.fai-project.org/wiki/Xen-tools_and_FAI_softupdates [08:44] i.e. write an image directly ? [08:54] psibox_ (~dreger@login.physik.fu-berlin.de) joined #fai. [08:55] siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) joined #fai. [08:56] msc (~msc@gw1.cgn3.hosteurope.de) joined #fai. [08:59] eartoast (~glawe@login.physik.fu-berlin.de) joined #fai. [09:06] verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. [09:20] Nic0 (~courtel@fw.tls.cena.fr) joined #fai. [09:21] menace (~toddel___@lhm246.muenchen.de) joined #fai. [09:47] \sh (~shermann@nat.de.netviewer.com) joined #fai. [10:03] Hi, are there recommendations how to FAI virtual KVM guests ? [10:10] siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) left irc: Quit: Leaving. [10:23] siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) joined #fai. [10:32] Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai. [11:19] Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving [11:19] Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) joined #fai. [12:09] sneumann: personally i have been using virt-install --pxe [12:09] thx [12:10] verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Read error: Connection reset by peer [12:10] sneumann: in theory fai dirinstall should be useful too [12:10] verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. [12:11] I read about dirinstall w.r.t Xen, but I am completely missing the big picture for dirinstall. [12:12] basically it just skips a few tasks, such as partitioning [12:17] ah, 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] And supply classes etc. via command line arguments ? [12:18] you might want to have a short look at fai(8) :) [13:01] msantana (msantana@SDF.ORG) joined #fai. [14:10] cyril_ (~cyril@icare.eve-team.com) joined #fai. [14:11] Hi Everybody, sorry for my poor english (i'm french) [14:12] i have a question about disk_config, i would like set the name of vg_name with the hostname [14:12] for example i would like done : vg $hostname sda3 [14:12] but it work not [14:13] if somebody know how to do that ? [14:13] there's no variable substitution inside disk_config file available. [14:14] But you can always do something like this by writing a hook [14:14] put the config space on the client into a ram disk: mkramdisk ..... [14:15] insert something like %%HOSTNAME%% into your disk_config file [14:15] call sed -e "s/%%HOSTNAME%%/$HOSTNAME/" or similar [14:15] I hope you get the idea of it [14:16] you mean, i must launch a "sed" in my disk_config/FAIBASE directly ? [14:16] no, no must put in in a hook [14:19] 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] You 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] nice idea Nic0 [14:21] maybe more simple for me because i'm a beginner with FAI [14:21] you'll also need to fix /etc/fstab in that case [14:22] Nic0, i can try to do that in scripts/FAIBASE/40-misc for example ? [14:22] exact mgoetze [14:22] mgoetze: unless he uses UUIDs [14:22] i 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] I would use the hooks/partition.FAIBASE thing. Than no modification on fstab is needed. [14:23] Yes Mrfai but i'm not able to done your example [14:24] maybe someone are able to explain me with details ? [14:24] Mrfai: the modification of fstab is no problem [14:24] the idea of Nic0 is excellent [14:24] makes it easy [14:25] but the idea of Mrfai is more clean i think but not easy [14:26] vgrename should be fine, too [14:26] clean enough [14:26] yes but you need modify fstab too [14:26] hope this works, tho [14:26] I personally dislike Volume groups [14:27] cyril_: I think my solution is easy: [14:27] hooks/partition.FAIBASE: [14:27] mkramdisk /var/lib/fai/config/ [14:27] then the sed command [14:27] I think that's it [14:28] and what i must add in my disk_config/FAIBASE ? [14:29] instead of the vgname %%HOSTNAME%%. this will the be replaces ny the hostname before calling setup-storage [14:32] Mrfai: I think for a FAI beginner a 'vgrename' is more easy that using a hook [14:33] 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] TIMTOWTDI :) [14:33] and in hooks/partition.EXAMPLE i have 2 line : mkramdisk /var/lib/fai/config/ [14:33] and sed -e "s/%%HOSTNAME%%/$HOSTNAME/" [14:33] that's all ? i can done a test with that ? [14:34] mgoetze: YMMV ;-) [14:34] add #! /bin/bash as the first line [14:34] chmod a+rx [14:34] ok [14:34] the script [14:35] i done a test now :) [14:39] i obtain an error : vgcreate %%HOSTNAME%% sda3 [14:39] command had non-zero exit code [14:39] error in task partition [14:40] you need -i with your sed command [14:40] ok [14:41] another try :) [14:44] i have on the screen : [14:44] calling hook : partition.EXAMPLE [14:44] and ... nothing ... maybe it's not verbose ? [14:45] i have an output [14:45] Lokks like sed is reading STDIN :) [14:45] tar : /tmp/tmp.A4mr0GJDT : wrote only 6144 of 10240 bytes [14:46] tar : error is not recoverable: exiting now [14:46] sed : no input files [14:46] partition.EXAMPLE failed with exit code 4 [14:46] Did you give the filename to your sed command? [14:47] here my partition.EXAMPLE : [14:47] #!/bin/bash [14:47] mkramdisk /var/lib/fai/config/ [14:47] sed -i "s/%%HOSTNAME%%/$HOSTNAME/" [14:47] Add /var/lib/fai/config/EXAMPLE at the end of the sed command [14:47] thanks Nic0 [14:48] sed also need -e IIRC [14:48] cyril_: man sed [14:48] sed's manpage is horrible. [14:49] the sed must be done on disk_config/EXAMPLE ? [14:50] because your path Nic0 /var/lib/fai/config/EXAMPLE don't exist [14:50] or i forget something ... [14:50] It should exist inside the nfsroot [14:51] Mrfai: see? a 'vgrename' is simpler for a beginner [14:52] in /var/lib/config i have only directory class, debconf, disk_config and so on [14:54] cyril: your fai config directory is mounted on /var/lib/fai/config on the host during the FAI installation [14:54] yes but only in read only [14:54] therefore you call mkramdisk ... [14:54] This is why Mrfai told you to make a ramdisk [14:55] Oops [15:00] an i can not done in the hooks/EXAMPLE : sed -i "s/%%HOSTNAME%%/$HOSTNAME/" /var/lib/fai/config/disk_config/EXAMPLE ? [15:01] Action: sneumann has an FAI booting KVM instance. It's important to install the kvm-pxe BIOS package ... [15:02] because with the mkramdisk i have the folllowing error : tar /tmp/tmp.Qi2eq28ghX : Cannot write : No space left on device [15:02] howto increase the space ? [15:11] man mkramdisk [15:11] Unless you specify a size, it's only 512 bytes [15:12] oz_ (oz@anubis.coresystems.de) left #fai (TIMTOWTDI - YMMV - YMMD - SNAFU). [15:20] cyril_: try mkramdisk /var/lib/fai/config/disk_config [15:20] that should be enough [15:20] Nic0: nonsens. Unless you specify a size it's half of the size of RAM [15:21] in fact i have 1.4G on / but during the mkramdisk i have a no space left [15:21] why ? 1.4G is not enough ? [15:23] 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] that's the reason why you get the error. Therefore use mkramdisk /var/lib/fai/config/disk_config [15:23] this will not need that much space [15:23] ok i will done a test [15:23] thanks for you support Mrfai [15:24] you're welcome. [15:24] and sorry for my english [15:24] no problemn [15:28] sneumann (~sneumann@router-sub.ipb-halle.de) left irc: Ping timeout: 480 seconds [16:13] menace (~toddel___@lhm246.muenchen.de) left irc: Remote host closed the connection [16:15] justL1 (~leen@rev-131-102.virtu.nl) left irc: Quit: Leaving. [16:23] msc (~msc@gw1.cgn3.hosteurope.de) left irc: Quit: msc [16:28] Mrfai, i done the test with your path and it works [16:29] but now if have the following error : can't preserve /dev/%%HOSTNAME%%/home because it does not exist [16:32] That should not happen, because task_partition does not see %%HOSTNAME%% at all. Or your sed command did not work. [16:37] ok i'll check [16:43] Big Kiss Mrfai :) [16:43] it works :) [16:44] verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat [17:14] fine. Do not forget to fill out the FAI questionnaire laster. fai-project.org/questionnaire [17:17] psibox_ (~dreger@login.physik.fu-berlin.de) left irc: Quit: leaving [17:34] siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) left irc: Ping timeout: 480 seconds [17:54] Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) left irc: Quit: leaving [17:58] sneumann (~sneumann@p5B0F3E13.dip.t-dialin.net) joined #fai. [18:12] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. [18:13] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Remote host closed the connection [20:03] msantana (msantana@SDF.ORG) left irc: Quit: Coyote finally caught me [20:15] we9rw (~sdf09s@83TAAEAZJ.tor-irc.dnsbl.oftc.net) joined #fai. [20:18] we9rw (sdf09s@83TAAEAZJ.tor-irc.dnsbl.oftc.net) left #fai. [20:23] utnapishtim (~8343@83TAAEAZK.tor-irc.dnsbl.oftc.net) joined #fai. [20:30] utnapishtim (~8343@83TAAEAZK.tor-irc.dnsbl.oftc.net) left irc: Remote host closed the connection [20:32] utnapishtim (~8343@83TAAEAZL.tor-irc.dnsbl.oftc.net) joined #fai. [20:36] utnapishtim (~8343@83TAAEAZL.tor-irc.dnsbl.oftc.net) left irc: [20:36] utnapishtim (~8343@83TAAEAZM.tor-irc.dnsbl.oftc.net) joined #fai. [20:44] utnapishtim (~8343@83TAAEAZM.tor-irc.dnsbl.oftc.net) left irc: Quit: Quit [20:44] utnapishtim (~8343@83TAAEAZN.tor-irc.dnsbl.oftc.net) joined #fai. [20:59] utnapishtim (~8343@83TAAEAZN.tor-irc.dnsbl.oftc.net) left irc: Quit: Quit [21:00] utnapishtim (~blafa3@83TAAEAZP.tor-irc.dnsbl.oftc.net) joined #fai. [21:01] Nick change: utnapishtim -> gilgamesh [21:02] Nick change: gilgamesh -> utnapishtim [21:04] utnapishtim (~blafa3@83TAAEAZP.tor-irc.dnsbl.oftc.net) left irc: [21:14] utnapishtim (~blafa3@83TAAEAZR.tor-irc.dnsbl.oftc.net) joined #fai. [21:45] \sh (~shermann@nat.de.netviewer.com) left irc: Remote host closed the connection [21:47] utnapishtim (~blafa3@83TAAEAZR.tor-irc.dnsbl.oftc.net) left irc: Quit: Quit [22:10] hi, 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..... [23:28] sneumann (~sneumann@p5B0F3E13.dip.t-dialin.net) left irc: Ping timeout: 480 seconds [00:00] --- Tue Feb 15 2011