From 5cf269a5b64f4d95a9f01b4ad5e6b114a20bf980 Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Wed, 12 Dec 2012 07:27:32 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/blade.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index 0253a455d..22e7e2b76 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -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];