Commit 91ea596a authored by Janek Bevendorff's avatar Janek Bevendorff

Fix PSSH paths (something's still broken)

parent 260688ce
......@@ -4,7 +4,7 @@
### Copyright 2014-today www.webis.de
### \b
### Author: Steve Göring
thisscriptpath=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
### \b
### Define usage screen.
......@@ -22,7 +22,7 @@ user="webis"
### file to write results
outfile="dumpall"
hostnames=$(${scriptPath}/../../libs/readlink-f.py "$thisscriptpath/hostnames")
hostnames="${WEBIS_CMD_ROOT_PATH}/tools/betamng/config/hostnames"
main() {
export user
......
......@@ -28,6 +28,7 @@ Usage:
### Example call: ./pssh.sh "help"
#
main() {
scriptPath="${WEBIS_CMD_ROOT_PATH}/tools/betamng"
. "$scriptPath/config/config.sh"
cmd="$@"
"$scriptPath/pssh_lib/bin/pssh" -i -A -l "$user" -h "$hostnames" -o "$scriptPath/stdout" -e "$scriptPath/stderr" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment