[pve-devel] [PATCH manager 3/3] pvereport: add sdn config directory

Aaron Lauterer a.lauterer at proxmox.com
Tue Oct 31 12:27:41 CET 2023


the /etc/pve/sdn directory contains the config files, not just what they
translate to in interface configs (/etc/network/interfaces.d/snd).

The current way will also include dotifiles that may contain the
current/running state. Which can be useful to troubleshoot.

Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---

the other 2 patches still apply, therefore I sent this as a nr 3 in this
series

 PVE/Report.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/Report.pm b/PVE/Report.pm
index 34ddd204..12d7d9a5 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -77,6 +77,7 @@ my $init_report_cmds = sub {
 		'ip -details -6 route show',
 		'cat /etc/network/interfaces',
 		sub { dir2text('/etc/network/interfaces.d/', '.*') },
+		sub { dir2text('/etc/pve/sdn/', '.*') },
 	    ],
 	},
 	firewall => {
-- 
2.39.2






More information about the pve-devel mailing list