From 71ecbe8e688b11dd3baf8dc1c41d3b355eac01c6 Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Fri, 23 Oct 2009 17:26:38 +0000 Subject: 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 --- os-plugins/plugins/vmchooser/files/run-virt.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'os-plugins/plugins/vmchooser/files/run-virt.sh') 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- -- cgit v1.2.3-55-g7522