Browse Source

qubes-hcl-report: run lspci as root

This allows the "Capabilities" field to be shown.
Matt McCutchen 3 years ago
parent
commit
e015165cf4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      qvm-tools/qubes-hcl-report

+ 1 - 1
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