From 06c276c94e5ab36afb3ee9b04ebed6487c5e174b Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 16 Jan 2023 16:41:05 +0100 Subject: [vmware-common] Handle VMware 17.x max hwVersion (=19) --- .../data/opt/openslx/vmchooser/plugins/vmware/includes/init_core.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/modules/vmware-common') 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 df44a478..e0290bed 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,7 @@ $(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 - 16.2.*) gmax=19 ;; + 17.*|16.2.*) gmax=19 ;; 16.*) gmax=18 ;; 15.5.*|15.1.*) gmax=16 ;; *) -- cgit v1.2.3-55-g7522