bennysp edited a comment on issue #2779: Changed to use ifcfg library for cross compatibility of OS /version URL: https://github.com/apache/cloudstack/pull/2779#issuecomment-409530661 @borisstoyanov the “old way” doesn’t actually parse correctly because of “ifconfig” format changes happening. So, you actually don’t get an IP address, broadcast or MAC. To be precise - the “old way” includes a “:” in the parse and this doesn’t parse correctly on Centos7 1804 because of “ifconfig” format changes. I don’t know “when” this changed in the OS, however. We could simply update the parse but I think that would break previous ifconfigs. If you don’t want to include a 3rd party, then most will tell you to use “ip” vs “ifconfig” for one reason being the format changes.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
