summaryrefslogtreecommitdiffstats
path: root/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/determine_hardware_limitations.inc
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/determine_hardware_limitations.inc')
-rw-r--r--remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/determine_hardware_limitations.inc56
1 files changed, 28 insertions, 28 deletions
diff --git a/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/determine_hardware_limitations.inc b/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/determine_hardware_limitations.inc
index 84d959ea..11ea2e3a 100644
--- a/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/determine_hardware_limitations.inc
+++ b/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/determine_hardware_limitations.inc
@@ -9,116 +9,116 @@ sound="es1371"
# define hardware configuration depending on the guest OS used
# this needs to be fixed and is the base for the creation of new VMs
-case "$vmostype" in
+case "$VM_OS_TYPE" in
win31*|windows31*)
- vmostype="win31"
+ VM_OS_TYPE="win31"
shfolders="FALSE"
sound="sb16"
MAXMEM="32"
MAXCORES="1"
;;
winnt*|windowsnt*)
- vmostype="winnt"
+ VM_OS_TYPE="winnt"
shfolders="FALSE"
sound="sb16"
MAXMEM="1000"
MAXCORES="2"
;;
win95*|windows95*)
- vmostype="win95"
+ VM_OS_TYPE="win95"
shfolders="FALSE"
MAXMEM="96"
MAXCORES="1"
;;
win98*|windows98*)
- vmostype="win98"
+ VM_OS_TYPE="win98"
MAXMEM="256"
MAXCORES="1"
;;
winme*|windowsme*)
- vmostype="winme"
+ VM_OS_TYPE="winme"
MAXMEM="384"
MAXCORES="1"
;;
win2000|windows2000|win2000pro*)
- vmostype="win2000pro"
+ VM_OS_TYPE="win2000pro"
MAXMEM="4000"
MAXCORES="2"
;;
win2000srv*|windows2000srv*|win2000serv*|windows2000serv*)
- vmostype="win2000serv"
+ VM_OS_TYPE="win2000serv"
shfolders="FALSE"
MAXMEM="4000"
MAXCORES="4"
;;
win2000adv*|windows2000adv*|win2000dat*|windows2000dat*)
- vmostype="win2000advserv"
+ VM_OS_TYPE="win2000advserv"
shfolders="FALSE"
MAXMEM="8000"
MAXCORES="8"
;;
winnet*64|win*2003*64|windowsnet*64)
- vmostype="winnetstandard-64"
+ VM_OS_TYPE="winnetstandard-64"
MAXMEM="8000"
MAXCORES="8"
;;
winnet*|win*2003*|windowsnet*)
- vmostype="winnetstandard"
+ VM_OS_TYPE="winnetstandard"
MAXMEM="4000"
MAXCORES="8"
;;
winxphome*|windowsxphome*)
- vmostype="winxphome"
+ VM_OS_TYPE="winxphome"
MAXMEM="4000"
MAXCORES="2"
;;
winxp*64|windowsxp*64)
- vmostype="winxppro-64"
+ VM_OS_TYPE="winxppro-64"
MAXMEM="8000"
MAXCORES="8"
;;
winxp*|windowsxp*)
- vmostype="winxppro"
+ VM_OS_TYPE="winxppro"
MAXMEM="4000"
MAXCORES="4"
;;
winvista-64)
- vmostype="winvista-64"
+ VM_OS_TYPE="winvista-64"
MAXMEM="16000"
MAXCORES="4"
;;
windows7-64)
- vmostype="windows7-64"
+ VM_OS_TYPE="windows7-64"
MAXMEM="32000"
MAXCORES="8"
;;
windows8-64)
- vmostype="windows8-64"
+ VM_OS_TYPE="windows8-64"
MAXMEM="32000"
MAXCORES="8"
;;
windows9-64)
- vmostype="windows9-64"
+ VM_OS_TYPE="windows9-64"
MAXMEM="64000"
MAXCORES="8"
;;
winvista)
- vmostype="winvista"
+ VM_OS_TYPE="winvista"
MAXMEM="8000"
MAXCORES="2"
;;
windows7)
- vmostype="windows7"
+ VM_OS_TYPE="windows7"
MAXMEM="8000"
MAXCORES="4"
;;
windows8)
- vmostype="windows8"
+ VM_OS_TYPE="windows8"
MAXMEM="8000"
MAXCORES="4"
;;
windows9)
- vmostype="windows9"
+ VM_OS_TYPE="windows9"
MAXMEM="8000"
MAXCORES="4"
;;
@@ -131,36 +131,36 @@ case "$vmostype" in
MAXCORES="1"
;;
dos|msdos*|ms-dos*)
- vmostype="dos"
+ VM_OS_TYPE="dos"
shfolders="FALSE"
MAXMEM="128"
MAXCORES="1"
;;
macos*64)
- vmostype="freebsd-64"
+ VM_OS_TYPE="freebsd-64"
MAXMEM="4000"
MAXCORES="2"
;;
macos*)
- vmostype="freebsd"
+ VM_OS_TYPE="freebsd"
MAXMEM="4000"
MAXCORES="1"
;;
beos*)
- vmostype="other"
+ VM_OS_TYPE="other"
shfolders="FALSE"
;;
# Unknown guestOS setting in .xml - this encompasses linux too,
# as there is a multitude of different distributions. Perhaps further
# action will be needed if this leads to problems with exotic OSs.
*64)
- vmostype="other-64"
+ VM_OS_TYPE="other-64"
# shfolders="FALSE"
MAXMEM="123456"
MAXCORES="4"
;;
*)
- vmostype="other"
+ VM_OS_TYPE="other"
# shfolders="FALSE"
MAXMEM="8000"
MAXCORES="1"