summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmchooser/files/run-virt.sh
diff options
context:
space:
mode:
authorMichael Janczyk2009-10-23 19:26:38 +0200
committerMichael Janczyk2009-10-23 19:26:38 +0200
commit71ecbe8e688b11dd3baf8dc1c41d3b355eac01c6 (patch)
tree7a67be8cbd836335409353bf1c6de05f7047f038 /os-plugins/plugins/vmchooser/files/run-virt.sh
parentmoving tested theming stuff to 5.0 (diff)
downloadcore-71ecbe8e688b11dd3baf8dc1c41d3b355eac01c6.tar.gz
core-71ecbe8e688b11dd3baf8dc1c41d3b355eac01c6.tar.xz
core-71ecbe8e688b11dd3baf8dc1c41d3b355eac01c6.zip
default directories introduced. please test and say what you think. examples see plugins vmware and vmchooser. can be simplyfied further (VIRTDIR, ETC...). /opt/openslx can bu user for plugins, ect as well (maybe PLUGINDIR?).
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3177 95ad53e4-c205-0410-b2fa-d234c58c8868
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-