the option updateBMC of rspconfig only supported for CMM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14630 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
419d69050f
commit
5cf269a5b6
@ -5318,6 +5318,10 @@ sub dompa {
|
||||
push @cfgtext, "Hardware type $mptype is not supported. Valid types(mm,cmm).\n";
|
||||
$rc = 1;
|
||||
$args = [];
|
||||
} elsif ($mpa ne $node && grep /updateBMC/, @exargs) {
|
||||
push @cfgtext, "The option updateBMC only supported for the CMM";
|
||||
$rc = 1;
|
||||
$args = [];
|
||||
} else {
|
||||
$result = clicmds($mpa,$user,$pass,$node,$slot,cmds=>\@exargs);
|
||||
$rc |= @$result[0];
|
||||
|
Loading…
Reference in New Issue
Block a user