I see, then it would be great indeed if this could be adapted for the new ifconfig output or as suggested by someone else on the list use the new ip tool.
Strangely enough I tried to add the NETWORK=yes to the custom vars of the template context but even if I click "add" and "update" the next time I view this template the custom variable is gone... Any idea why this custom var is not being saved? I am using ONE 4.6.0. Regards ML On Wednesday, June 11, 2014 12:43 PM, Javier Fontan <jfon...@opennebula.org> wrote: The output changes a lot from the old ifconfig and can not be correctly parser. We will have to devise a new system to get that info. Still, I think you are not adding NETWORK="YES" to the contextualization, that should fix the problem as it does use the mac address to get the IP info. On Wed, Jun 11, 2014 at 11:59 AM, ML mail <mlnos...@yahoo.com> wrote: > Hi Javier, > > In case my PNG attachment did not find its way to the mailing list, here > would be the text output of an ifconfig -a: > > eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet6: fe80::XXXX:XXXX:XXXX prefixlen 64 scopeid 0x20<link> > ether 02:00:XX:XX:XX:XX txqueuelen 1000 (Ethernet) > RX packets 33 bytes 2124 (2.0 KiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 10 bytes 1316 (1.2 KiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 > inet 127.0.0.1 netmask 255.0.0.0 > inet6 ::1 preixlen 128 scopeid 0x10<host> > loop txqueuelen 0 (Local Loopback) > > RX packets 2 bytes 140 (140.0 B) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 2 bytes 140 (140.0 B) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > > Regards, > ML > > > > > On Tuesday, June 10, 2014 10:50 PM, ML mail <mlnos...@yahoo.com> wrote: > Hi Javier, > > > I attached a screenshot of the ifconfig -a on Fedora 20. I hope PNG > attachements are ok. MAC addresses are masked out. > > Regards > ML > > > > > > > > On Tuesday, June 10, 2014 6:44 PM, Javier Fontan <jfon...@opennebula.org> > wrote: > It seems that there is a problem parsing the interface information. > Can you send us the output of this command in a Fedora 20? > > /sbin/ifconfig -a > > > > > On Tue, Jun 10, 2014 at 4:24 PM, ML mail <mlnos...@yahoo.com> wrote: >> Hi, >> >> I just tried out one-context 4.6 on Fedora 20 (basic infrastructure server >> installation) but unfortunately the one-context 4.6 RPM does not work >> properly and as such my VM does not have any network connection. >> >> It looks like the one-context already fails at the 00-network script with >> errors such as: >> >> /etc/one-context.d/00-network: line 23: let: ip_a=0xmtu value too great for >> base (error token is "0xmtu") >> /etc/one-context.d/00-network: line 24: let: ip_b=0xmtu value too great for >> base (error token is "0xmtu") >> /etc/one-context.d/00-network: line 25: let: ip_c=0xmtu value too great for >> base (error token is "0xmtu") >> /etc/one-context.d/00-network: line 26: let: ip_d=0xmtu value too great for >> base (error token is "0xmtu") >> /etc/one-context.d/00-network: line 95: ${1500_IP}: bad substitution >> etc... >> >> Any ideas what's wrong here? >> >> Thanks! >> _______________________________________________ >> Users mailing list >> Users@lists.opennebula.org >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > > > -- > Javier Fontán Muiños > Developer > OpenNebula - Flexible Enterprise Cloud Made Simple > www.OpenNebula.org | @OpenNebula | github.com/jfontan -- Javier Fontán Muiños Developer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | @OpenNebula | github.com/jfontan _______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org