summaryrefslogtreecommitdiffstats
path: root/core/modules/vmware-common
diff options
context:
space:
mode:
authorSimon Rettberg2023-01-17 16:17:08 +0100
committerSimon Rettberg2023-01-17 16:17:08 +0100
commitc341da59069cca12f6c6d1dae52072224ee5221e (patch)
treeb486872076949dfb56aceb1ee9f57ee4529f6bcd /core/modules/vmware-common
parent[vmware-common] Handle VMware 17.x max hwVersion (=19) (diff)
downloadmltk-c341da59069cca12f6c6d1dae52072224ee5221e.tar.gz
mltk-c341da59069cca12f6c6d1dae52072224ee5221e.tar.xz
mltk-c341da59069cca12f6c6d1dae52072224ee5221e.zip
[vmware-common] Allow undocumented hwversion 20 for VMware 17.x
Diffstat (limited to 'core/modules/vmware-common')
-rw-r--r--core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/init_core.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/init_core.inc b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/init_core.inc
index e0290bed..a2a54dc5 100644
--- a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/init_core.inc
+++ b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/init_core.inc
@@ -44,7 +44,8 @@ $(safesource "${VMWARE_PLUGIN_DIR}/vmware.conf")
# Determine maximum hw version
gmax="$( grep -m 1 -F '.product.version' /etc/vmware/config | grep -oE '[0-9]+\.[0-9.]+' | head -n 1 )"
case "$gmax" in
- 17.*|16.2.*) gmax=19 ;;
+ 17.*) gmax=20 ;;
+ 16.2.*) gmax=19 ;;
16.*) gmax=18 ;;
15.5.*|15.1.*) gmax=16 ;;
*)