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

* origin/pr/379:
  qubes-hcl-report: run lspci as root
This commit is contained in:
Marek Marczykowski-Górecki 2020-12-01 07:19:21 +01:00
commit 39d9a619b4
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -71,7 +71,7 @@ DATE=`date +%Y%m%d-%H%M%S`
TEMP_DIR=`mktemp --tmpdir -d HCL.XXXXXXXXXX` TEMP_DIR=`mktemp --tmpdir -d HCL.XXXXXXXXXX`
cat /etc/qubes-release > $TEMP_DIR/qubes-release cat /etc/qubes-release > $TEMP_DIR/qubes-release
cat /proc/cpuinfo > $TEMP_DIR/cpuinfo cat /proc/cpuinfo > $TEMP_DIR/cpuinfo
lspci -nnvk > $TEMP_DIR/lspci sudo lspci -nnvk > $TEMP_DIR/lspci
cat /proc/scsi/scsi > $TEMP_DIR/scsi cat /proc/scsi/scsi > $TEMP_DIR/scsi
sudo dmidecode > $TEMP_DIR/dmidecode sudo dmidecode > $TEMP_DIR/dmidecode
xl info > $TEMP_DIR/xl-info xl info > $TEMP_DIR/xl-info