diff options
author | Dirk | 2014-04-13 20:14:15 +0200 |
---|---|---|
committer | Dirk | 2014-04-13 20:14:15 +0200 |
commit | d93ef4fc7dd59425b09ccd805b18235c2685f1d6 (patch) | |
tree | 2c70ec8e4927674345240023235c8bc0b42e8f6f /src/os-plugins | |
parent | Modifications required to support Ubuntu 14.04 version ... (diff) | |
download | core-d93ef4fc7dd59425b09ccd805b18235c2685f1d6.tar.gz core-d93ef4fc7dd59425b09ccd805b18235c2685f1d6.tar.xz core-d93ef4fc7dd59425b09ccd805b18235c2685f1d6.zip |
More changes and fixes ...
Diffstat (limited to 'src/os-plugins')
-rw-r--r-- | src/os-plugins/plugins/vmware/files/run-virt.include | 53 |
1 files changed, 9 insertions, 44 deletions
diff --git a/src/os-plugins/plugins/vmware/files/run-virt.include b/src/os-plugins/plugins/vmware/files/run-virt.include index 603c8e9b..be6eb9b4 100644 --- a/src/os-plugins/plugins/vmware/files/run-virt.include +++ b/src/os-plugins/plugins/vmware/files/run-virt.include @@ -1,7 +1,7 @@ # run-virt.include # ----------------------------------------------------------------------------- # Copyright (c) 2009..2012 - RZ Uni Freiburg -# Copyright (c) 2009..2013 - OpenSLX GmbH +# Copyright (c) 2009..2014 - OpenSLX GmbH # # This program is free software distributed under the GPL version 2. # See http://openslx.org/COPYING @@ -81,14 +81,14 @@ config.version = \"8\"" >>${conffile} ;; esac case "$vmversion" in - 2.*|3.*|4.*|5.*|6.*|7.*|8.*|9.*) + 2.*|3.*|4.*|5.*|6.*|7.*|8.*|9.*|10.*) [ ${shfolders} == FALSE ] || echo " -# version specific stuff - ver. 2.*|3.*|6.*|7.*|8.*|9.* +# version specific stuff - ver. 2.*|3.*|6.*|7.*|8.*|9.*|10.* sharedFolder.option = \"alwaysEnabled\"" >>${conffile} ;; esac case "$vmversion" in - 2.5|3.*|4.*|5.*|6.5|7.*|8.*|9.*) + 2.5|3.*|4.*|5.*|6.5|7.*|8.*|9.*|10.*) if [ "${cpu_cores}" -ge "2" 2>/dev/null ]; then numvcpus="2" fi @@ -97,20 +97,20 @@ case "$vmversion" in fi cap3d="TRUE" # helper var for loging output echo " -# version specific stuff - ver. 2.5|3.*|6.5|7.* +# version specific stuff - ver. 2.5|3.*|6.5|7.*|8.*|9.*|10.* ehci.present = \"TRUE\" mks.enable3d = \"${enable3d}\"" >>${conffile} ;; esac case "$vmversion" in - 3.*|4.*|7.*|8.*|9.*) + 3.*|4.*|7.*|8.*|9.*|10.*) numvcpus="${cpu_cores}" if [ "${cpu_cores}" -ge "4" 2>/dev/null ]; then numvcpus="4" fi # svga_autodetect="FALSE" # if defined manual, see below echo " -# version specific stuff - ver. 3.*|7.* +# version specific stuff - ver. 3.*|7.*|8.*|9.*|10.* cpuid.coresPerSocket = \"${cpu_cores}\" maxvcpus = \"4\" monitor.virtual_mmu = \"automatic\" @@ -281,7 +281,7 @@ pref.eula.0.buildNumber = \"${vmbuild}\" pref.eula.1.appName = \"VMware Workstation\" pref.eula.1.buildNumber = \"${vmbuild}\"" >>${vmhome}/preferences ;; - 5.*|9.*) + 5.*|9.*|10.*) # code echo " pref.eula.count = \"2\" @@ -382,42 +382,7 @@ case "$parallel" in ;; esac -# adjust memory available for vmware guests -#if [ -n "${forcemem}" ]; then -# mem="${forcemem}" -#else -# case "$vmversion" in -# 2.*|6.*) -# permem=30 -# ;; -# 3.*|7.*) -# permem=25 -# ;; -# esac -# if [ "${totalmem}" -ge "2500" ]; then -# permem=40 -# fi -# # check if /tmp is on harddisk -# if grep -qe "/dev/.* /tmp " /proc/mounts ; then -# permem=60 -# id44="1" -# # Hack, if more than 2,5G RAM use 40% of Ram and write vmem into Ram as well -# # (40% vmware | 40% confdir(vmem...) | 20% host -# # VMplayer 2+ issue -# if [ "${totalmem}" -ge "2500" ]; then -# permem=40 -# confdir=/dev/shm/vmware/$USER -# conffile=${confdir}/run-vmware.conf -# mkdir -p /dev/shm/vmware/$USER -# fi -# fi -# mem=$(expr ${totalmem} / 100 \* ${permem} / 4 \* 4) -# if [ "${id44}" = "1" ]; then -# hostmem=$(expr ${totalmem} - ${mem}) -# else -# hostmem=$(expr ${totalmem} - ${mem} - ${mem}) -# fi -#fi + # check if ide/scsi and hwver of image # read only the first 30 lines to be shure |