diff options
author | Gurucharan Shetty <guru@ovn.org> | 2016-08-29 04:39:47 -0700 |
---|---|---|
committer | Gurucharan Shetty <guru@ovn.org> | 2016-08-30 15:10:11 -0700 |
commit | 85282542186b73a9f89bb59aaac11cf194d5c3e7 (patch) | |
tree | 150af2c9739fb2fe7d35c6dcf7eb9fdc068dc2ea /utilities | |
parent | 19cd0a87827ea0aebaca42c677f216dc687d5997 (diff) | |
download | openvswitch-85282542186b73a9f89bb59aaac11cf194d5c3e7.tar.gz |
ovs-bugtool: Add interfaces file contents.
It is useful to know the contents of interfaces file
for debugging in debian based systems.
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'utilities')
-rwxr-xr-x | utilities/bugtool/ovs-bugtool.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/utilities/bugtool/ovs-bugtool.in b/utilities/bugtool/ovs-bugtool.in index bb771b077..2ec2f2a05 100755 --- a/utilities/bugtool/ovs-bugtool.in +++ b/utilities/bugtool/ovs-bugtool.in @@ -91,6 +91,8 @@ ROUTE_RE = re.compile(r'^.*/route-.*') SYSCONFIG_HWCONF = '/etc/sysconfig/hwconf' SYSCONFIG_NETWORK = '/etc/sysconfig/network' SYSCONFIG_NETWORK_SCRIPTS = '/etc/sysconfig/network-scripts' +INTERFACES = '/etc/network/interfaces' +INTERFACESD = '/etc/network/interfaces.d' PROC_NET_VLAN_DIR = '/proc/net/vlan' PROC_NET_SOFTNET_STAT = '/proc/net/softnet_stat' MODPROBE_CONF = '/etc/modprobe.conf' @@ -570,8 +572,9 @@ exclude those logs from the archive. tree_output(CAP_NETWORK_CONFIG, SYSCONFIG_NETWORK_SCRIPTS, IFCFG_RE) tree_output(CAP_NETWORK_CONFIG, SYSCONFIG_NETWORK_SCRIPTS, ROUTE_RE) - file_output(CAP_NETWORK_CONFIG, - [SYSCONFIG_NETWORK, RESOLV_CONF, NSSWITCH_CONF, HOSTS]) + tree_output(CAP_NETWORK_CONFIG, INTERFACESD) + file_output(CAP_NETWORK_CONFIG, [SYSCONFIG_NETWORK, RESOLV_CONF, + NSSWITCH_CONF, HOSTS, INTERFACES]) file_output(CAP_NETWORK_CONFIG, [NTP_CONF, IPTABLES_CONFIG, HOSTS_ALLOW, HOSTS_DENY]) file_output(CAP_NETWORK_CONFIG, [OPENVSWITCH_DEFAULT_SWITCH, |