From 2c1889acbb208b33585cf36f62481136f4abc4c7 Mon Sep 17 00:00:00 2001 From: Zrubi Date: Tue, 2 Jun 2015 12:16:45 +0200 Subject: [PATCH] YML output fix (cherry picked from commit 53260bd66ba3f0b2cc62b9488d67cdcdb6cec1e8) --- qvm-tools/qubes-hcl-report | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/qvm-tools/qubes-hcl-report b/qvm-tools/qubes-hcl-report index daf086f3..047a79d0 100755 --- a/qvm-tools/qubes-hcl-report +++ b/qvm-tools/qubes-hcl-report @@ -79,7 +79,7 @@ xl dmesg > $TEMP_DIR/xl-dmesg BRAND=`cat $TEMP_DIR/dmidecode |grep -A9 "System Information" |grep "Manufacturer:" |cut -d ' ' -f2-` PRODUCT=`cat $TEMP_DIR/dmidecode |grep -A9 "System Information" |grep "Product Name:" |cut -d ' ' -f3-` -TYPE=`cat $TEMP_DIR/dmidecode |grep -A9 "Chassis Information" |grep Type |cut -d ' ' -f2-` +TYPE=`cat $TEMP_DIR/dmidecode |grep -A9 "Chassis Information" |grep Type |cut -d ' ' -f2- |tr '[:upper:]' '[:lower:]'` if [[ $BRAND =~ "O.E.M" ]] then @@ -155,9 +155,7 @@ echo -e "I/O MMU:\t$VTD" echo -e "TPM:\t\t$TPM" echo -echo -e " - ---- +echo -e "--- layout: 'hcl' type: