[00:02] Shingoshi (~Shingoshi@c-98-246-122-42.hsd1.or.comcast.net) left irc: Remote host closed the connection [01:05] ErKa (keryell@keryell.pck.nerim.net) joined #fai. [02:45] ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds [06:13] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. [06:25] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Remote host closed the connection [10:51] fai: 3 mt committed revision 5292 to 7 fai: added sleep 10 and info message to faireboot (closes: #520554) [11:02] ErKa (keryell@keryell.pck.nerim.net) joined #fai. [13:55] ErKa (keryell@keryell.pck.nerim.net) left irc: Remote host closed the connection [14:10] ErKa (~keryell@keryell.pck.nerim.net) joined #fai. [14:18] ErKa (~keryell@keryell.pck.nerim.net) left irc: Remote host closed the connection [15:04] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. [15:24] ErKa (~keryell@keryell.pck.nerim.net) joined #fai. [15:28] ErKa (~keryell@keryell.pck.nerim.net) left irc: Read error: Connection reset by peer [15:42] luk_ (~luk@luk.netop.oftc.net) joined #fai. [15:42] ErKa (~keryell@keryell.pck.nerim.net) joined #fai. [15:43] what's the URL to the repo of FAI? [15:51] ah apparently on svn.debian.org [16:07] ErKa (~keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds [16:08] ErKa (~keryell@keryell.pck.nerim.net) joined #fai. [16:12] ErKa (~keryell@keryell.pck.nerim.net) left irc: Read error: Connection reset by peer [16:52] luk_, debian/control knows as well :) [16:53] yes, though to look into the debian/control in the repo one has to know the repo :-) [16:53] ip does not seem to use netmasks, but instead uses prefixes [16:54] should shell functions be added to convert them? [16:54] for instance 157.193.44.1/255.255.255.0 in ifconfig is shown as 157.193.44.1/24 in ip [16:55] where do you need to convert them? [17:12] fai-setup [17:13] for use in the exports file [17:13] luk_: do you need to convert once, or a script that does it on argument or something else? [17:17] rjd: in fai-setup to be able to 'add_export_line' as it currently uses address/netmask [17:18] Im new to FAI, so for me that didnt answer my question : [17:18] I'm trying to convert the ifconfig calls to ip calls if anyone is wondering about the context [17:18] if you have ipcalc, you could do something like this: NET="84.55.85.0/25"; NETMASK=`ipcalc 84.55.85.0/25|grep Netmask|awk '{print $2'}`; IP=`echo $NETrint $1}'`; echo "$IP/$NETMASK" [17:19] NET=$1 for argument 1 instead [17:19] sorry, replace the second 84.55.85.0/25 with $NET :-) [17:21] or: ip=`echo $1 | cut -d'/' -f1`;cidr=`ipcalc $1 | grep Netmask | awk '{print $2}'`;echo "$ip/$cidr" [17:26] luk_, you've heard of this packages.qa.debian.org/fai thing? :-P :) [17:33] does fai-setup need the hosts to be specified as IPs? [17:34] and why does it need to add a netmask if it's only meant for one host? [17:36] hm, doesn't exports accept both formats? [17:37] (checks manpage) yes, it does ... i don't quite see your problem? [17:37] according to the manpage at least it only needs the netmask when you want it to apply for a subnet of machines [17:38] and if you do, it doesn't particularily mind whether you write /255.255.255.0 or /24 [17:38] so... what are you trying to achieve? [18:26] Action: h01ger cheers luks patch [19:20] fai: 3 mt committed revision 5293 to 7 fai: Added Luk's patch to do the ifconfig -> ip transition [23:00] sepski (~sep@raserv.aasen.cx) left irc: Remote host closed the connection [23:01] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Ping timeout: 480 seconds [00:00] --- Sun Mar 22 2009