qubes-hcl-report: run lspci as root

This allows the "Capabilities" field to be shown.
This commit is contained in:
Matt McCutchen 2020-11-29 16:19:21 -05:00
parent 39ef189a93
commit e015165cf4
No known key found for this signature in database
GPG Key ID: FB2C6F8A1E100D8C

View File

@ -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