summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmchooser/files/run-virt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'os-plugins/plugins/vmchooser/files/run-virt.sh')
-rw-r--r--os-plugins/plugins/vmchooser/files/run-virt.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/os-plugins/plugins/vmchooser/files/run-virt.sh b/os-plugins/plugins/vmchooser/files/run-virt.sh
index ee9c8124..910cf128 100644
--- a/os-plugins/plugins/vmchooser/files/run-virt.sh
+++ b/os-plugins/plugins/vmchooser/files/run-virt.sh
@@ -18,6 +18,9 @@
# fied virtualization tool.
# -----------------------------------------------------------------------------
+# include default directories
+. /etc/opt/openslx/openslx.conf
+
# Sanity checks
###############################################################################
@@ -185,7 +188,7 @@ writelog ()
echo -e "$1"
# Log into file
- echo -e "$1" >>/tmp/run-virt.$$.log
+ echo -e "$1" >> ${OPENSLX_DEFAULT_LOGDIR}/run-virt.${USER}.$$.log
}
# Setup the rest of the environment and run the virtualization tool just confi-