From e015165cf4d2805e882791d5a994866fc3c3ebfe Mon Sep 17 00:00:00 2001 From: Matt McCutchen Date: Sun, 29 Nov 2020 16:19:21 -0500 Subject: [PATCH] qubes-hcl-report: run lspci as root This allows the "Capabilities" field to be shown. --- qvm-tools/qubes-hcl-report | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qvm-tools/qubes-hcl-report b/qvm-tools/qubes-hcl-report index 7745b02e..18c667a2 100755 --- a/qvm-tools/qubes-hcl-report +++ b/qvm-tools/qubes-hcl-report @@ -71,7 +71,7 @@ DATE=`date +%Y%m%d-%H%M%S` TEMP_DIR=`mktemp --tmpdir -d HCL.XXXXXXXXXX` cat /etc/qubes-release > $TEMP_DIR/qubes-release cat /proc/cpuinfo > $TEMP_DIR/cpuinfo -lspci -nnvk > $TEMP_DIR/lspci +sudo lspci -nnvk > $TEMP_DIR/lspci cat /proc/scsi/scsi > $TEMP_DIR/scsi sudo dmidecode > $TEMP_DIR/dmidecode xl info > $TEMP_DIR/xl-info