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
This commit is contained in:
zhaoertao 2012-09-12 08:01:19 +00:00
parent ba23720d6f
commit 451d63d075

View File

@ -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";
}
}