]> git.proxmox.com Git - pve-manager.git/commitdiff
report: add sdn config directory
authorAaron Lauterer <a.lauterer@proxmox.com>
Tue, 31 Oct 2023 11:27:41 +0000 (12:27 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 2 Nov 2023 20:00:03 +0000 (21:00 +0100)
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@proxmox.com>
PVE/Report.pm

index 34ddd2042870837143970c487f14f41692894ef5..12d7d9a57abab8b316243ce797104e31df261ab0 100644 (file)
@@ -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 => {