change require RemoteShell

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2011-10-18 12:32:51 +00:00
parent fa4249df73
commit 158b578de9

View File

@ -27,7 +27,7 @@ use Symbol;
use Digest::SHA1 qw/sha1/;
use IPC::Open3;
use IO::Select;
use xCAT::RemoteShellExp;
require xCAT::RemoteShellExp;
use warnings "all";
require xCAT::InstUtils;
require xCAT::NetworkUtils;
@ -3627,11 +3627,11 @@ sub get_ServiceNode
# command from the MN to CEC/Frame direclty, not through the service node if specified.
# The $onlymaster is set in preprocess_request() in PPC.pm
# It will not affect the others
if( defined($onlymaster) && $onlymaster == 1) {
if (defined($onlymaster) && $onlymaster == 1) {
$snattribute = "xcatmaster";
} else {
} else {
$snattribute = "servicenode";
}
}
}
else # Node