summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJonathan Bauer2013-04-16 16:26:23 +0200
committerJonathan Bauer2013-04-16 16:26:23 +0200
commitf82e39f01475399e2095065cbda351d5334327e1 (patch)
tree52e272f822862abfb910e591395734f05fc9d2d0 /src
parentFix issue with too big memory settings in older VMware versions. (diff)
downloadcore-f82e39f01475399e2095065cbda351d5334327e1.tar.gz
core-f82e39f01475399e2095065cbda351d5334327e1.tar.xz
core-f82e39f01475399e2095065cbda351d5334327e1.zip
changes eula parameters for vmware version 9+
Diffstat (limited to 'src')
-rw-r--r--src/os-plugins/plugins/vmware/files/run-virt.include30
1 files changed, 24 insertions, 6 deletions
diff --git a/src/os-plugins/plugins/vmware/files/run-virt.include b/src/os-plugins/plugins/vmware/files/run-virt.include
index 86ba4700..f57cd766 100644
--- a/src/os-plugins/plugins/vmware/files/run-virt.include
+++ b/src/os-plugins/plugins/vmware/files/run-virt.include
@@ -269,12 +269,30 @@ pref.vmplayer.confirmOnExit = \"TRUE\"
# shared folders
pref.enableAllSharedFolders = \"TRUE\"
-# eula
-pref.eula.size = \"2\"
-pref.eula.0.appName = \"VMware Player\"
-pref.eula.0.buildNumber = \"${vmbuild}\"
-pref.eula.1.appName = \"VMware Workstation\"
-pref.eula.1.buildNumber = \"${vmbuild}\"" >${vmhome}/preferences
+# eula" >${vmhome}/preferences
+
+# different eula parameters from Workstation 9+
+
+case "$vmversion" in
+ 3.*|4.*|7.*|8.*)
+ echo "
+ pref.eula.size = \"2\"
+ pref.eula.0.appName = \"VMware Player\"
+ pref.eula.0.buildNumber = \"${vmbuild}\"
+ pref.eula.1.appName = \"VMware Workstation\"
+ pref.eula.1.buildNumber = \"${vmbuild}\"" >>${vmhome}/preferences
+ ;;
+ 9.*)
+ # code
+ echo "
+ pref.eula.count = \"2\"
+ pref.eula0.product = \"VMware Player\"
+ pref.eula0.build = \"${vmbuild}\"
+ pref.eula1.product = \"VMware Workstation\"
+ pref.eula1.build = \"${vmbuild}\"" >>${vmhome}/preferences
+ ;;
+esac
+
}