fix for XCATBYPASS=1 could not work with commands depends site attribute, like makedns=>site.dnshandler

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2012-10-11 04:33:40 +00:00
parent e05b4b8cdd
commit 628806fd81

View File

@ -425,7 +425,7 @@ sub plugin_command {
#a static global, it grabs all nodes rather than some
$useglobals = -1; #If they tried to specify anything, don't use the default global handlers at all
unless (@nodes) {
$handler_hash{$sent->{value}} = 1;
$handler_hash{$::XCATSITEVALS{$sitekey}} = 1;
$usesiteglobal = 1;
}
foreach (@nodes) { #Specified a specific plugin, not a table lookup