correct site attribute name hdctldispatch to hwctrldispatch

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14294 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhaoertao 2012-11-09 06:11:08 +00:00
parent bf2247a181
commit 08a7dc5c78
2 changed files with 2 additions and 2 deletions

View File

@ -848,7 +848,7 @@ site => {
" match the path in the installdir attribute.\n\n".
" ipmidispatch: Whether or not to send ipmi hw control operations to the service\n".
" node of the target compute nodes. Default is 'y'.\n\n".
" hdctldispatch: Whether or not to send hw control operations to the service\n".
" hwctrldispatch: Whether or not to send hw control operations to the service\n".
" node of the target nodes. Default is 'y'.\n\n".
" ipmimaxp: The max # of processes for ipmi hw ctrl. The default is 64. Currently,\n".
" this is only used for HP hw control.\n\n".

View File

@ -2001,7 +2001,7 @@ sub preprocess_request {
my $service = "xcat";
my @hcps=keys(%hcp_hash);
my $sn;
my @dfmdispatch = xCAT::Utils->get_site_attribute("hdctldispatch");
my @dfmdispatch = xCAT::Utils->get_site_attribute("hwctrldispatch");
if (defined($dfmdispatch[0]) and ($dfmdispatch[0] =~ /0|n/i)) {
if ($masters[0]) {
push @{$sn->{$masters[0]}}, @hcps;