diff --git a/xCAT-server/bin/replaycons b/xCAT-server/bin/replaycons index 12aa6ec76..65f2ed5a2 100755 --- a/xCAT-server/bin/replaycons +++ b/xCAT-server/bin/replaycons @@ -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); }