use full path when running replaycons on the conserver host through ssh command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
be850c8f9f
commit
413179dbb8
@ -73,7 +73,7 @@ my @hostinfo=xCAT::Utils->determinehostname();
|
||||
my %iphash=();
|
||||
foreach(@hostinfo) {$iphash{$_}=1;}
|
||||
if (($conserver) && ($iphash{$conserver} != 1)) {
|
||||
system("ssh -o BatchMode=yes $conserver replaycons $node $bps $tail 2>&1");
|
||||
system("ssh -o BatchMode=yes $conserver $::XCATROOT/bin/replaycons $node $bps $tail 2>&1");
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user