[pve-devel] [PATCH manager 2/2] pvereport: add interfaces.d directory
Aaron Lauterer
a.lauterer at proxmox.com
Tue Oct 3 13:36:38 CEST 2023
With the SDN becoming more prevalent, it is a good idea to include any
additional config files in '/etc/network/interfaces.d'.
Since no special suffix is enforced, we need to match against any file.
Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---
PVE/Report.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/Report.pm b/PVE/Report.pm
index 435458b9..34ddd204 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -76,6 +76,7 @@ my $init_report_cmds = sub {
'ip -details -4 route show',
'ip -details -6 route show',
'cat /etc/network/interfaces',
+ sub { dir2text('/etc/network/interfaces.d/', '.*') },
],
},
firewall => {
--
2.39.2
More information about the pve-devel
mailing list