Hi,
fedora 20 ifconfig reports no ‘:’ that break getIPaddress.
So, the groupmanager.log reports:
7-25-14 9:45:11 am] * Checking if I am the group manager.
[07-25-14 9:45:11 am] * I don’t appear to be the group manager, I will check back later. log
[07-25-14 9:45:11 am] * Checking if I am the group manager.
[07-25-14 9:45:11 am] * I don’t appear to be the group manager, I will check back later.
I used more standard ‘ip’ command (tested on ubuntu too):
FOGCore.class.php
369c369
< exec(“ip -4 -o address|awk ‘{print $4}’|sed ‘s//.*//’”, $arR, $retVal);
exec("/sbin/ifconfig | grep '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}'| cut -d':' -f 2 | cut -d' ' -f1", $arR, $retVal);
Ciao
Enrico