qubes-hcl-report v2.2
- Network devices section added to HCL Info output
This commit is contained in:
parent
55fce5dd36
commit
b4e0833cb7
@ -18,7 +18,7 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
VERSION=2.1
|
||||
VERSION=2.2
|
||||
COPY2VM="dom0"
|
||||
SUPPORT_FILES=0
|
||||
|
||||
@ -90,6 +90,7 @@ KERNEL=`uname -r |cut -d '.' -f-3`
|
||||
CPU=`cat $TEMP_DIR/cpuinfo |grep "model name" |sort -u |cut -d ' ' -f3-`
|
||||
CHIPSET=`cat $TEMP_DIR/lspci |grep "00:00.0.*Host bridge"`
|
||||
VGA=`cat $TEMP_DIR/lspci |grep "VGA\|Display" | sed -e "s/^/\t\t/"`
|
||||
NET=`cat $TEMP_DIR/lspci |lspci |grep "Network\|Ethernet" |sed -e "s/^/\t\t/"`
|
||||
SCSI=`cat $TEMP_DIR/scsi |grep Model |cut -d ':' -f3- | sed -e "s/^[[:space:]]*/\t\t/"`
|
||||
RAM=`cat $TEMP_DIR/xl-info |grep total_memory |cut -d ':' -f2 |tr -d ' '`
|
||||
BIOS=`cat $TEMP_DIR/dmidecode |grep -A9 "BIOS Information" |grep "Version" |cut -d ' ' -f2-`
|
||||
@ -134,6 +135,7 @@ echo -e "RAM:\t\t$RAM Mb\n" |tee -a $HOME/$FILENAME.txt
|
||||
echo -e "CPU:\t\t$CPU" |tee -a $HOME/$FILENAME.txt
|
||||
echo -e "Chipset:\t$CHIPSET" |tee -a $HOME/$FILENAME.txt
|
||||
echo -e "VGA:$VGA\n" |tee -a $HOME/$FILENAME.txt
|
||||
echo -e "Net:$NET\n" |tee -a $HOME/$FILENAME.txt
|
||||
echo -e "SCSI:$SCSI\n" |tee -a $HOME/$FILENAME.txt
|
||||
echo -e "BIOS:\t\t$BIOS" |tee -a $HOME/$FILENAME.txt
|
||||
echo -e "VT-x:\t\t$VTX" |tee -a $HOME/$FILENAME.txt
|
||||
|
Loading…
Reference in New Issue
Block a user