]> git.proxmox.com Git - pve-manager.git/commitdiff
report: add interfaces.d directory
authorAaron Lauterer <a.lauterer@proxmox.com>
Tue, 3 Oct 2023 11:36:38 +0000 (13:36 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 2 Nov 2023 20:00:01 +0000 (21:00 +0100)
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@proxmox.com>
PVE/Report.pm

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