From b7676f7448df6b29a05fba4a2e84605f2d3b9156 Mon Sep 17 00:00:00 2001 From: Kilian Cavalotti Date: Thu, 25 May 2017 17:24:23 -0700 Subject: [PATCH] MTM: some systems have FRU entries, but set to "NONE" --- xCAT-genesis-scripts/bin/dodiscovery | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-genesis-scripts/bin/dodiscovery b/xCAT-genesis-scripts/bin/dodiscovery index 338f13c42..0ac4b9bd2 100755 --- a/xCAT-genesis-scripts/bin/dodiscovery +++ b/xCAT-genesis-scripts/bin/dodiscovery @@ -77,7 +77,7 @@ if [ -r /sys/devices/virtual/dmi/id/product_name ]; then #x86 if [ $? -eq 0 ]; then m=`echo "$FRU" | awk -F': ' '/Product Manufacturer/ {print $2}'` n=`echo "$FRU" | awk -F': ' '/Product Name/ {print $2}'` - if [ -z "$n" ]; then + if [ -z "$n" -o "$n" == "NONE" ]; then n=`echo "$FRU" | awk -F': ' '/Product Part Number/ {print $2}'` fi else