rpower cec onstandby -T tooltype support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
820beb4ffa
commit
211cf80b67
@ -1904,7 +1904,7 @@ sub preprocess_request {
|
||||
my @masters = xCAT::Utils->get_site_attribute("master");
|
||||
#When run mkhwconn/lshwconn/rmhwconn with -T fnm for CNM, it will send the command to CEC/Frame direclty,
|
||||
#not through the service node if specified.
|
||||
if ((($req->{command}->[0] eq "mkhwconn") || ($req->{command}->[0] eq "lshwconn" ) || ($req->{command}->[0] eq "rmhwconn" ))
|
||||
if ($req->{command}->[0] =~ /^(mkhwconn|lshwconn|rmhwconn|rpower)$/
|
||||
&& ( $req->{opt}->{T} == 1) ) {
|
||||
#for fnm
|
||||
my $reqcopy = {%$req};
|
||||
|
Loading…
Reference in New Issue
Block a user