YML output fix
(cherry picked from commit 53260bd66ba3f0b2cc62b9488d67cdcdb6cec1e8)
This commit is contained in:
parent
4a8cfb3c88
commit
2c1889acbb
@ -79,7 +79,7 @@ xl dmesg > $TEMP_DIR/xl-dmesg
|
|||||||
|
|
||||||
BRAND=`cat $TEMP_DIR/dmidecode |grep -A9 "System Information" |grep "Manufacturer:" |cut -d ' ' -f2-`
|
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-`
|
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" ]]
|
if [[ $BRAND =~ "O.E.M" ]]
|
||||||
then
|
then
|
||||||
@ -155,9 +155,7 @@ echo -e "I/O MMU:\t$VTD"
|
|||||||
echo -e "TPM:\t\t$TPM"
|
echo -e "TPM:\t\t$TPM"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
echo -e "
|
echo -e "---
|
||||||
|
|
||||||
---
|
|
||||||
layout:
|
layout:
|
||||||
'hcl'
|
'hcl'
|
||||||
type:
|
type:
|
||||||
|
Loading…
Reference in New Issue
Block a user