From 628806fd8191d1d800d497164d81ef18c01ad181 Mon Sep 17 00:00:00 2001 From: ligc Date: Thu, 11 Oct 2012 04:33:40 +0000 Subject: [PATCH] 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 --- perl-xCAT/xCAT/Client.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/Client.pm b/perl-xCAT/xCAT/Client.pm index a5ad6e221..89bc5a343 100644 --- a/perl-xCAT/xCAT/Client.pm +++ b/perl-xCAT/xCAT/Client.pm @@ -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