temporary comment out the xCAT::InstUtils->myxCATname in runcmd subroutine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8635 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
4a5060cd39
commit
a36bcbb34b
@ -1036,18 +1036,18 @@ sub runcmd
|
||||
if (!($cmd =~ /2>&1$/)) { $cmd .= ' 2>&1'; }
|
||||
|
||||
# get this systems name as known by xCAT management node
|
||||
my $Sname = xCAT::InstUtils->myxCATname();
|
||||
#my $Sname = xCAT::InstUtils->myxCATname();
|
||||
|
||||
if ($::VERBOSE)
|
||||
{
|
||||
if ($::CALLBACK){
|
||||
my $rsp = {};
|
||||
$rsp->{data}->[0] = "Running command on $Sname: $cmd\n";
|
||||
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
|
||||
} else {
|
||||
xCAT::MsgUtils->message("I", "Running command on $Sname: $cmd\n");
|
||||
}
|
||||
}
|
||||
#if ($::VERBOSE)
|
||||
#{
|
||||
# if ($::CALLBACK){
|
||||
# my $rsp = {};
|
||||
# $rsp->{data}->[0] = "Running command on $Sname: $cmd\n";
|
||||
# xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
|
||||
# } else {
|
||||
# xCAT::MsgUtils->message("I", "Running command on $Sname: $cmd\n");
|
||||
# }
|
||||
#}
|
||||
|
||||
my $outref = [];
|
||||
@$outref = `$cmd`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user