diff options
author | Michael Janczyk | 2009-03-25 19:56:23 +0100 |
---|---|---|
committer | Michael Janczyk | 2009-03-25 19:56:23 +0100 |
commit | 9a95a742de93b3289946d5daf39ca0d44d5aed6f (patch) | |
tree | 01caf3a51424dc457401a9fe722f2516989102d0 /os-plugins/plugins/vmware/files/run-virt.include | |
parent | xserver plugin: (diff) | |
download | core-9a95a742de93b3289946d5daf39ca0d44d5aed6f.tar.gz core-9a95a742de93b3289946d5daf39ca0d44d5aed6f.tar.xz core-9a95a742de93b3289946d5daf39ca0d44d5aed6f.zip |
better define the VM-Vars at the end, because we change one of them sometimes
ne amixer settings: Front is headphone at the front, Speaker is now PCspeker
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2758 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmware/files/run-virt.include')
-rw-r--r-- | os-plugins/plugins/vmware/files/run-virt.include | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/os-plugins/plugins/vmware/files/run-virt.include b/os-plugins/plugins/vmware/files/run-virt.include index a9e24454..56b37d4d 100644 --- a/os-plugins/plugins/vmware/files/run-virt.include +++ b/os-plugins/plugins/vmware/files/run-virt.include @@ -212,13 +212,9 @@ vmbuild=$buildversion vmversion=$version # VMware start options -#-X = fullscreen +# "-X": start in fullscreen vmopt="-X" -# set the variables appropriately -VIRTCMD=vmplayer -VIRTCMDOPTS="${vmopt} ${conffile}" - # hardware checks ################################################################################ @@ -349,6 +345,8 @@ done # logging and stdout ################################################################################ +logfile=${vmhome}/run-vmware.`hostname`.log + # remove ols logs rm ${vmhome}/run-vmware.* >/dev/null 2>&1 @@ -359,7 +357,7 @@ writelog () echo -e "$1" # log in file - echo -e "$1" >>${vmhome}/run-vmware.$$.log + echo -e "$1" >>${logfile} } # log script information @@ -380,7 +378,7 @@ writelog "\tConfdir:\t${confdir}" writelog "\tConffile:\t${conffile}" writelog "\tRedodir:\t${redodir}" writelog "\tVMhome:\t\t${vmhome}" -writelog "\tLogfile:\t${vmhome}/run-vmware.$$.log" +writelog "\tLogfile:\t${logfile}" writelog "\t/tmp info: \ $(grep "/tmp " /proc/mounts) $(df -h | grep " /tmp$" | awk '{print $2}')" # HW setup @@ -405,3 +403,10 @@ else fi writelog "\tDisplayname:\t${displayname}\n" + +# finally set env for run-virt.sh +################################################################################ + +VIRTCMD=vmplayer +VIRTCMDOPTS="${vmopt} ${conffile}" + |