summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri Mazmanov <dimitri.mazmanov@ericsson.com>2017-01-30 15:27:50 +0100
committerDimitri Mazmanov <dimitri.mazmanov@ericsson.com>2017-01-30 15:29:15 +0100
commitc20680b168f0be600a25a2381bc0db9bc3929b21 (patch)
treee99097d096a85458fc66e6a995826a3082d158a6
parentc42a9c8248381e33c4fd7155eeb15df7937d411b (diff)
Debug fix
Wrong path was used to invoke the script Change-Id: I2e6c1c0cce9c0e9e83ddb2ab3fbfce997055220e Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
-rwxr-xr-xtools/keystone/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/keystone/run.sh b/tools/keystone/run.sh
index 0389f6f..8fe933f 100755
--- a/tools/keystone/run.sh
+++ b/tools/keystone/run.sh
@@ -86,7 +86,7 @@ function run_on_target() {
sshpass -p r00tme ssh 2>/dev/null $ssh_options root@${installer_ip} \
"ssh $ssh_options $1 \"cd /root/ && chmod +x ${runnable}\"" &> /dev/null
sshpass -p r00tme ssh 2>/dev/null $ssh_options root@${installer_ip} \
- "ssh $ssh_options $1 \"cd /root/ && nohup /root/${runnable} > ${runnable}.log 2> /dev/null\"" &> /dev/null
+ "ssh $ssh_options $1 \"cd /root/ && nohup ${runnable} > ${runnable}.log 2> /dev/null\"" &> /dev/null
# Output here
sshpass -p r00tme ssh 2>/dev/null $ssh_options root@${installer_ip} \
"ssh $ssh_options $1 \"cd /root/ && cat ${runnable}.log\""