YML output fix

(cherry picked from commit 53260bd66ba3f0b2cc62b9488d67cdcdb6cec1e8)
This commit is contained in:
Zrubi 2015-06-02 12:16:45 +02:00 committed by Marek Marczykowski-Górecki
parent 4a8cfb3c88
commit 2c1889acbb

View File

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