diff options
Diffstat (limited to 'os-plugins/plugins/vmware/files/run-virt.include')
-rw-r--r-- | os-plugins/plugins/vmware/files/run-virt.include | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/os-plugins/plugins/vmware/files/run-virt.include b/os-plugins/plugins/vmware/files/run-virt.include index 725ccb1c..a148442c 100644 --- a/os-plugins/plugins/vmware/files/run-virt.include +++ b/os-plugins/plugins/vmware/files/run-virt.include @@ -15,6 +15,8 @@ # - component for vmware/player of the vmchooser plugin run-virt.sh # ----------------------------------------------------------------------------- +# include default directories +. /etc/opt/openslx/openslx.conf # include general configuration from vmchooser . /etc/opt/openslx/run-virt.include @@ -211,6 +213,8 @@ confdir=${redodir} conffile="${confdir}/run-vmware.conf" # users vmware config folder vmhome="${HOME}/.vmware" +# logfile +logfile=${OPENSLX_DEFAULT_LOGDIR}/run-vmware.${USER}.$$.log # get several version infos for vmware/player . /etc/vmware/slxvmconfig @@ -376,11 +380,6 @@ done # logging and stdout ################################################################################ -logfile=${vmhome}/run-vmware.`hostname`.log - -# remove ols logs -rm ${vmhome}/run-vmware.* >/dev/null 2>&1 - # function to write to stdout and logfile writelog () { |