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:
parent
fa4249df73
commit
158b578de9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user