]> git.proxmox.com Git - pve-manager.git/commitdiff
report: format iptables output for readability
authorAlexander Zeidler <a.zeidler@proxmox.com>
Tue, 9 Jan 2024 14:23:56 +0000 (15:23 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 10 Jan 2024 09:42:49 +0000 (10:42 +0100)
Signed-off-by: Alexander Zeidler <a.zeidler@proxmox.com>
PVE/Report.pm

index 10b28c790fec757da53d19183e5876aba1cab1bc..9c46aa9b77a9dccccac49c1e8c09483337d72ad8 100644 (file)
@@ -85,7 +85,7 @@ my $init_report_cmds = sub {
            cmds => [
                sub { dir2text('/etc/pve/firewall/', '.*fw') },
                'cat /etc/pve/local/host.fw',
-               'iptables-save -c',
+               'iptables-save -c | column -t -l4 -o" "',
            ],
        },
        cluster => {