summaryrefslogtreecommitdiffstats
path: root/remote/modules/run-virt
diff options
context:
space:
mode:
authorSimon Rettberg2016-01-08 11:50:40 +0100
committerSimon Rettberg2016-01-08 11:50:40 +0100
commitfc611666134f8b4a1073eca14bb2ecfe1b3aa954 (patch)
tree29c0fd9a33c4e2bcd61d95517318f69bcac47d3e /remote/modules/run-virt
parent[run-virt] TMPDIR is now set globally in set_runvirt_variables.inc (diff)
downloadtm-scripts-fc611666134f8b4a1073eca14bb2ecfe1b3aa954.tar.gz
tm-scripts-fc611666134f8b4a1073eca14bb2ecfe1b3aa954.tar.xz
tm-scripts-fc611666134f8b4a1073eca14bb2ecfe1b3aa954.zip
Preparations for exam mode
Diffstat (limited to 'remote/modules/run-virt')
-rw-r--r--remote/modules/run-virt/data/opt/openslx/scripts/includes/set_runvirt_variables.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/modules/run-virt/data/opt/openslx/scripts/includes/set_runvirt_variables.inc b/remote/modules/run-virt/data/opt/openslx/scripts/includes/set_runvirt_variables.inc
index f0aae889..5215eb2d 100644
--- a/remote/modules/run-virt/data/opt/openslx/scripts/includes/set_runvirt_variables.inc
+++ b/remote/modules/run-virt/data/opt/openslx/scripts/includes/set_runvirt_variables.inc
@@ -5,8 +5,8 @@
VMCHOOSER_DIR="/opt/openslx/vmchooser"
VMCHOOSER_CONF_DIR="$VMCHOOSER_DIR/config"
LOGFILE="/var/log/openslx/run-virt.${USER}.$$.log"
-TMPDIR="/tmp/virt/$(whoami)"
USER="$(whoami)"
+TMPDIR="/tmp/virt/${USER}/$$"
readonly VMCHOOSER_DIR VMCHOOSER_CONF_DIR LOGFILE TMPDIR USER