Good to have when a NIC or other peripheral devices does not works.

Flags used:
-k  Show kernel drivers handling each device and also kernel modules
    capable of handling it.
-nn Show PCI vendor and device codes as both numbers and names.

Signed-off-by: Thomas Lamprecht <t.lampre...@proxmox.com>
---
 PVE/Report.pm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/PVE/Report.pm b/PVE/Report.pm
index fa943bea..375c5aa3 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -51,6 +51,9 @@ my $report_def = {
     bios => [
        'dmidecode -t bios',
     ],
+    pci => [
+       'lspci -nnk',
+    ],
     disks => [
        'lsblk --ascii',
     ],
@@ -61,7 +64,7 @@ my $report_def = {
 };
 
 my @report_order = ('general', 'storage', 'virtual guests', 'network',
-'firewall', 'cluster', 'bios', 'disks', 'volumes');
+'firewall', 'cluster', 'bios', 'pci', 'disks', 'volumes');
 
 push @{$report_def->{volumes}}, 'zpool status', 'zfs list' if 
cmd_exists('zfs');
 
-- 
2.14.2


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to