From 451d63d07534dc5fc1fc5a314aaa0cac339a3c5b Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Wed, 12 Sep 2012 08:01:19 +0000 Subject: [PATCH] fix bug 3558819: rscan cannot identify mm as CMM for firebird git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13772 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/blade.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index ad7701f35..96fd9290b 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -4338,7 +4338,7 @@ sub rscanfsp { if (/(mm\[\d+\])\s+primary/) { # get the type of mm @data = $t->cmd("info -T system:$1"); - if (grep /(Mach type\/model: Chassis Management Module)|(Mach type\/model: CMM)/, @data) { + if (grep /(Mach type\/model: Chassis Management Module)|(Mach type\/model: CMM)|(Product Name:.*Chassis Management Module)/, @data) { $telnetrscan{'mm'}{'type'} = "cmm"; } }