fix bug 3558819: rscan cannot identify mm as CMM for firebird

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13773 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhaoertao 2012-09-12 08:10:26 +00:00
parent 6adf22b30e
commit be8fea6a0e

View File

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