[00:00] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Ping timeout: 480 seconds [00:08] SpComb (terom@zapotek.paivola.fi) left irc: Remote host closed the connection [00:09] SpComb (terom@zapotek.paivola.fi) joined #fai. [00:12] gebi_ (~gebi@84-119-47-40.dynamic.xdsl-line.inode.at) left irc: Remote host closed the connection [00:12] gebi (~gebi@84-119-47-40.dynamic.xdsl-line.inode.at) joined #fai. [01:52] pav5088_ (~Mark@ppp118-208-37-247.lns3.bne1.internode.on.net) joined #fai. [01:59] pav5088 (~Mark@ppp118-208-91-249.lns2.bne4.internode.on.net) left irc: Ping timeout: 480 seconds [02:16] hrist (~test@141.31.176.198) left irc: Quit: leaving [03:50] |kardan| (~kardan@p54BE4E32.dip.t-dialin.net) left irc: Ping timeout: 480 seconds [03:51] |kardan| (~kardan@p54BE3793.dip.t-dialin.net) joined #fai. [08:43] Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai. [09:30] Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving [09:31] Mrfai (~lange@suenner.informatik.uni-koeln.de) joined #fai. [09:39] ErKa (keryell@m7.wifi.enstb.org) joined #fai. [10:00] Nic0 (~courtel@fw.tls.cena.fr) joined #fai. [10:12] ErKa (keryell@m7.wifi.enstb.org) left irc: Ping timeout: 480 seconds [10:20] ErKa (keryell@m7.wifi.enstb.org) joined #fai. [11:04] lolo78 (~chatzilla@195.68.90.13) joined #fai. [11:04] hello [11:05] i have this line in a script: [11:05] $ROOTCMD /bin/sed -i 's/^agentaddress.*/agentaddress $IPADDR/' /etc/snmp/snmpd.conf [11:05] but the substitution of IPADDR is not done [11:05] because it's inside single ticks ' [11:06] substitution of fai variables is not done at a highter level ? [11:06] It's done at shell level [11:06] lolo78: it's a shell script. it works like a shell script. [11:06] hum ok [11:06] there is no special distinction between "fai variables" and "other shell cariables" [11:07] how i could write this line ? [11:07] because sed need the ' enclosure [11:08] perl -pe "s/^agentaddress.*/agentaddress $IPADDR/" $target/etc/snmp/snmpd.conf [11:08] uh i mean [11:08] perl -pe "s/^agentaddress.*/agentaddress $IPADDR/;" $target/etc/snmp/snmpd.conf [11:10] it need a temp file [11:10] in place substitute is not possible ? [11:10] oh... right, forgot about that [11:10] Action: mgoetze is not quite awake yet. [11:12] you could do it with cfagent's ReplaceAll, see FAIBASE/40-misc in simple-examples [11:13] and i'm sure it's possible in sed too, just that i am too young to know sed ;) [11:13] hehe ok [11:15] #! /usr/sbin/cfagent -f [11:15] control: [11:15] any:: [11:15] actionsequence = ( editfiles ) [11:15] EditFileSize = ( 30000 ) [11:15] editfiles: [11:15] any:: [11:15] { ${target}/etc/snmp/snmpd.conf [11:15] ReplaceAll "^agentaddress.*" With "agentaddress ${IPADDR}" [11:15] } [11:15] something like this ? [11:15] yup [11:15] ok great [11:16] thanks [11:16] np [11:53] lolo78 (~chatzilla@195.68.90.13) left irc: Quit: ChatZilla 0.9.85 [Firefox 3.0.14/2009090217] [11:57] \msg \sh Hi Stefan, wie ist der Stand beim removen von FAI aus karmic? [12:20] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. [12:36] ErKa (keryell@m7.wifi.enstb.org) left irc: Ping timeout: 480 seconds [12:43] sep (~sep@40.211.jostedal.no) left irc: Remote host closed the connection [12:44] sep (~sep@40.211.jostedal.no) joined #fai. [13:17] |kardan| (~kardan@p54BE3793.dip.t-dialin.net) left irc: Ping timeout: 480 seconds [13:44] verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. [14:04] ErKa (keryell@dhcp2.info.enstb.org) joined #fai. [14:36] so how do people actually build base.tgz's for rpm-based distributions? mach? rpmstrap? [14:37] from /dev/null. I'm not doing this ;-) [14:37] i know :P but remember this silly concept called "customers" i once told you about? ;) [15:00] pav5088_ (~Mark@ppp118-208-37-247.lns3.bne1.internode.on.net) left irc: Quit: Leaving [16:44] mgoetze: febootstrap? [16:45] mikap: seems at first glance that it can't do rhel and centos, but maybe i'll look into it [16:47] mgoetze: might be true (don't use it on my own) [17:09] Mrfai (~lange@suenner.informatik.uni-koeln.de) left irc: Quit: leaving [17:20] ErKa (keryell@dhcp2.info.enstb.org) left irc: Ping timeout: 480 seconds [17:36] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Quit: Leaving. [17:53] verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat [19:08] ErKa (~keryell@keryell.pck.nerim.net) joined #fai. [21:56] ErKa (~keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds [22:11] ErKa (keryell@keryell.pck.nerim.net) joined #fai. [00:00] --- Tue Sep 22 2009