From 5b8620cdaef215a0e8f022dea29e6577305557a2 Mon Sep 17 00:00:00 2001
From: jbjohnso <jbjohnso@8638fb3e-16cb-4fca-ae20-7b5d299a9bcd>
Date: Mon, 30 Apr 2012 13:25:19 +0000
Subject: [PATCH] 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
---
 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}'`