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

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