Browse Source

Merge remote-tracking branch 'origin/pr/379'

* origin/pr/379:
  qubes-hcl-report: run lspci as root
Marek Marczykowski-Górecki 3 years ago
parent
commit
39d9a619b4
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