From eb1bf16b152757af0190fb32785b549b1629862f Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 16 May 2012 20:39:12 +0000 Subject: [PATCH] CMM CLI syntax changed, accomodate git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/blade.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index 9bc316db1..248bf4854 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -4582,7 +4582,7 @@ sub snmpcfg { } # Check the type of mm my @data = $t->cmd("info -T system:$mm"); - if (grep(/Mach type\/model: Chassis Management Module/, @data) && $mptype ne "cmm") { + if (grep(/: Chassis Management Module/, @data) && $mptype ne "cmm") { $mptype="cmm"; #return ([1,"The hwtype attribute should be set to \'cmm\' for a Chassis Management Module."]); } @@ -4649,7 +4649,7 @@ sub sshcfg { # Check the type of mm @data = $t->cmd("info -T system:$mm"); - if (grep(/Mach type\/model: Chassis Management Module/, @data) && $mptype ne "cmm") { + if (grep(/: Chassis Management Module/, @data) && $mptype ne "cmm") { #return ([1,"The hwtype attribute should be set to \'cmm\' for a Chassis Management Module."]); $mptype="cmm"; #why in the world wouldn't we have just done this from the get go???? }