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
This commit is contained in:
parent
6720e7900c
commit
eb1bf16b15
@ -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????
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user