You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Andy Kurth (JIRA)" <ji...@apache.org> on 2016/01/26 16:16:39 UTC
[jira] [Created] (VCL-925) Update Linux.pm to not rely on ifconfig
for all distributions
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)