Andy Kurth created VCL-925:
------------------------------
Summary: Update Linux.pm to not rely on ifconfig for all
distributions
Key: VCL-925
URL: https://issues.apache.org/jira/browse/VCL-925
Project: VCL
Issue Type: Improvement
Components: vcld (backend)
Reporter: Andy Kurth
Assignee: Andy Kurth
{{Linux.pm::get_network_configuration}} relies on the _ifconfig_ utility to be
present. Several other subroutines rely on the results from
{{get_network_configuration}}. As a result, things don't work if _ifconfig_
isn't installed.
This utility is not always installed by default. For example, a minimal
installation of CentOS 7 or Fedora 23. It can be installed on all
distributions I know of by installing net-tools. The lazy way to approach this
would be to simply require people to install it before capturing a base image.
However, it would be ideal to not require this and update the code to try to
use other commands such as _ip addr show_ if ifconfig isn't present.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)