From 413179dbb836cf3909b8fac6911f5a01492b2ca3 Mon Sep 17 00:00:00 2001 From: ligc Date: Mon, 23 Nov 2009 07:11:29 +0000 Subject: [PATCH] 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 --- xCAT-server/bin/replaycons | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }