Fix discovery to do serial number
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12403 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
7e30690442
commit
5b8620cdae
@ -65,6 +65,7 @@ if [ -r /sys/devices/virtual/dmi/id/product_name ]; then #x86
|
||||
MTM=VMware
|
||||
else
|
||||
MTM=`cat /sys/devices/virtual/dmi/id/product_name|awk -F'[' '{print $2}'|awk -F']' '{print $1}'`
|
||||
SERIAL=`cat /sys/devices/virtual/dmi/id/product_serial`
|
||||
fi
|
||||
elif [ -r /proc/device-tree/model ]; then #POWER
|
||||
MTM=`cat /proc/device-tree/model |awk -F, '{print $2}'`
|
||||
|
Loading…
Reference in New Issue
Block a user