From e272264896b429e4334895c875fbd30fb14020f2 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 30 Apr 2012 13:57:22 +0000 Subject: [PATCH] Fix discovery to do serial number git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12406 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-nbroot2/dodiscovery | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-nbroot2/dodiscovery b/xCAT-nbroot2/dodiscovery index b70305c94..19c7313c0 100755 --- a/xCAT-nbroot2/dodiscovery +++ b/xCAT-nbroot2/dodiscovery @@ -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}'`