From f82e39f01475399e2095065cbda351d5334327e1 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Tue, 16 Apr 2013 16:26:23 +0200 Subject: changes eula parameters for vmware version 9+ --- .../plugins/vmware/files/run-virt.include | 30 +++++++++++++++++----- 1 file changed, 24 insertions(+), 6 deletions(-) (limited to 'src') 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 + } -- cgit v1.2.3-55-g7522