Commit 3af1daa1 authored by Michael Völske's avatar Michael Völske

Merge branch 'master' of webis.uni-weimar.de:code-generic/code-webis-cmd

parents c6bfbe40 0e402e1b
......@@ -27,10 +27,6 @@ Usage:
#
main() {
. "$scriptPath/config/config.sh"
if ! grep "$@" "$hostnames"; then
logError "hostname $@ is not valid."
exit 1
fi
cd "$scriptPath/virtualscreen"
./virtualscreen.py "$@"
......
......@@ -11,7 +11,7 @@ except ImportError:
L.error("Pandas is required for this script (sudo -H pip install pandas)")
salt = subprocess.Popen(['sudo', '/usr/bin/salt', '--static', '--out', 'json', '*', 'cmd.run', 'dmidecode -t memory'], stdout=subprocess.PIPE)
salt = subprocess.Popen(['sudo', '/usr/bin/salt', '--static', '--out', 'json', 'betaweb*', 'cmd.run', 'dmidecode -t memory'], stdout=subprocess.PIPE)
data = json.loads(salt.stdout.read())
......
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