Fix ifconfig parsing in onos-setup-karaf
Fix ifconfig parsing in onos-setup-karaf

ifconfig output in CentOS7 is different from Ubuntu.
This one should work with OS X, Ubuntu and CentOS.

Change-Id: I2ec43db5af6f90b87b4def1a7654e4c8ad0bd253

kkkane/ONOS,kuujo/onos,mengmoya/onos,Shashikanth-Huawei/bmp,sdnwiselab/onos,CNlukai/onos-gerrit-test,Shashikanth-Huawei/bmp,sdnwiselab/onos,oeeagle/onos,planoAccess/clonedONOS,VinodKumarS-Huawei/ietf96yang,LorenzReinhart/ONOSnew,castroflavio/onos,gkatsikas/onos,jinlongliu/onos,osinstom/onos,mengmoya/onos,chenxiuyang/onos,maheshraju-Huawei/actn,Shashikanth-Huawei/bmp,opennetworkinglab/onos,zsh2938/onos,sonu283304/onos,planoAccess/clonedONOS,jmiserez/onos,oeeagle/onos,lsinfo3/onos,donNewtonAlpha/onos,kkkane/ONOS,mengmoya/onos,LorenzReinhart/ONOSnew,maheshraju-Huawei/actn,jmiserez/onos,oplinkoms/onos,VinodKumarS-Huawei/ietf96yang,oplinkoms/onos,chinghanyu/onos,oplinkoms/onos,gkatsikas/onos,opennetworkinglab/onos,jinlongliu/onos,donNewtonAlpha/onos,LorenzReinhart/ONOSnew,opennetworkinglab/onos,gkatsikas/onos,donNewtonAlpha/onos,opennetworkinglab/onos,jinlongliu/onos,VinodKumarS-Huawei/ietf96yang,sdnwiselab/onos,packet-tracker/onos,maheshraju-Huawei/actn,castroflavio/onos,CNlukai/onos-gerrit-test,y-higuchi/onos,gkatsikas/onos,kuujo/onos,zsh2938/onos,CNlukai/onos-gerrit-test,oeeagle/onos,jmiserez/onos,LorenzReinhart/ONOSnew,planoAccess/clonedONOS,chenxiuyang/onos,kuujo/onos,sonu283304/onos,osinstom/onos,sdnwiselab/onos,maheshraju-Huawei/actn,chinghanyu/onos,lsinfo3/onos,oplinkoms/onos,gkatsikas/onos,LorenzReinhart/ONOSnew,sdnwiselab/onos,chenxiuyang/onos,sonu283304/onos,kkkane/ONOS,kuujo/onos,castroflavio/onos,y-higuchi/onos,zsh2938/onos,oplinkoms/onos,jmiserez/onos,opennetworkinglab/onos,y-higuchi/onos,osinstom/onos,gkatsikas/onos,VinodKumarS-Huawei/ietf96yang,rvhub/onos,CNlukai/onos-gerrit-test,Shashikanth-Huawei/bmp,rvhub/onos,opennetworkinglab/onos,osinstom/onos,osinstom/onos,castroflavio/onos,mengmoya/onos,chinghanyu/onos,sonu283304/onos,packet-tracker/onos,sdnwiselab/onos,rvhub/onos,planoAccess/clonedONOS,maheshraju-Huawei/actn,kuujo/onos,packet-tracker/onos,lsinfo3/onos,oplinkoms/onos,lsinfo3/onos,y-higuchi/onos,packet-tracker/onos,Shashikanth-Huawei/bmp,kuujo/onos,oeeagle/onos,rvhub/onos,mengmoya/onos,kuujo/onos,donNewtonAlpha/onos,donNewtonAlpha/onos,jinlongliu/onos,zsh2938/onos,kkkane/ONOS,y-higuchi/onos,oplinkoms/onos,chenxiuyang/onos,VinodKumarS-Huawei/ietf96yang,chinghanyu/onos