summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDirk2012-11-24 11:05:15 +0100
committerDirk2012-11-24 11:05:15 +0100
commit7a34a6ec8bf1d7add088ce0bc3ad473045c67b51 (patch)
tree4d99188626be71f0c23b29f814680d5a910e07d6
parentchange config structure: (diff)
downloadcore-7a34a6ec8bf1d7add088ce0bc3ad473045c67b51.tar.gz
core-7a34a6ec8bf1d7add088ce0bc3ad473045c67b51.tar.xz
core-7a34a6ec8bf1d7add088ce0bc3ad473045c67b51.zip
Support older X86 OS in VMware ...
-rw-r--r--src/os-plugins/plugins/vmware/files/run-virt.include24
1 files changed, 21 insertions, 3 deletions
diff --git a/src/os-plugins/plugins/vmware/files/run-virt.include b/src/os-plugins/plugins/vmware/files/run-virt.include
index 33687f34..3ec8eafc 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..2011 - RZ Uni Freiburg
-# Copyright (c) 2009..2011 - OpenSLX GmbH
+# Copyright (c) 2009..2012 - RZ Uni Freiburg
+# Copyright (c) 2009..2012 - OpenSLX GmbH
#
# This program is free software distributed under the GPL version 2.
# See http://openslx.org/COPYING
@@ -54,6 +54,19 @@ mks.enable3d = \"${enable3d}\"" >>${conffile}
esac
# check for the ostype
case "${vmostype}" in
+ win31*)
+ mem="32"
+ cpu_cores="1"
+ sound="sb16"
+ ;;
+ win95*)
+ mem="92"
+ cpu_cores="1"
+ ;;
+ win98*|winme*)
+ mem="256"
+ cpu_cores="1"
+ ;;
winxp*|windowsxp*)
;;
winvista*|windowsvista*)
@@ -154,6 +167,7 @@ ethernet0.wakeOnPcktRcv = \"FALSE\"
sound.present = \"TRUE\"
sound.fileName = \"-1\"
sound.autodetect = \"TRUE\"
+sound.virtualdev = \"${sound}\"
# svga
svga.autodetect = \"${svga_autodetect}\"
@@ -281,13 +295,17 @@ vmopt="-X"
# hardware checks
################################################################################
-# use different network card
+# use different network card (default e1000, vlance, vmxnet)
if [ -n "${network_card}" ]; then
network_virtualDev="ethernet0.virtualDev = \"${network_card}\""
else
network_virtualDev='# using default virtualDev for ethernet0'
fi
+# set standard sound card, overwrite depending on OS (options sb16, es1371, hdaudio)
+sound="es1371"
+
+# check for 3D configuration setting
case "$enable3d" in
*true*|*TRUE*|*yes*|*YES*)
enable3d="TRUE"