From 201b2de89fd95297e3133f70d0d3886e4f0d8e90 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 20 Mar 2017 16:03:33 -0400 Subject: [PATCH] Recognize CDI and PSI prefixes for IMM --- xCAT-server/lib/xcat/plugins/ipmi.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/ipmi.pm b/xCAT-server/lib/xcat/plugins/ipmi.pm index b8f015e06..a5e6010dc 100644 --- a/xCAT-server/lib/xcat/plugins/ipmi.pm +++ b/xCAT-server/lib/xcat/plugins/ipmi.pm @@ -2744,7 +2744,7 @@ sub got_bmc_fw_info { my @returnd = (@{ $rsp->{data} }); my @a = ($fw_rev2); my $prefix = pack("C*", @returnd[ 0 .. 3 ]); - if ($prefix =~ /yuoo/i or $prefix =~ /1aoo/i or $prefix =~ /tcoo/i or $prefix =~/tei/i) { #we have an imm + if ($prefix =~ /yuoo/i or $prefix =~ /1aoo/i or $prefix =~ /tcoo/i or $prefix =~/tei/i or $prefix =~ /cdi/i or $prefix =~ /psi/i) { #we have an imm $isanimm = 1; } $mprom = sprintf("%d.%s (%s)", $fw_rev1, decodebcd(\@a), getascii(@returnd));