From b1d0effc9907beded6c8ee47a81317ff0f2d417f Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 23 Apr 2024 10:50:06 +0200 Subject: [PATCH] esxi import: add "longhorn" to possible Windows Server 2008 OS types While we detected "winLonghorn" already as w2k8, it seems that some ESXi versions also use "longhorn" here. Add that to our known Windows OS type mapping, so that it gets correctly mapped to our w2k8 type, which affects the selected hardware. Signed-off-by: Thomas Lamprecht --- src/PVE/Storage/ESXiPlugin.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PVE/Storage/ESXiPlugin.pm b/src/PVE/Storage/ESXiPlugin.pm index df00b73..b8bce0e 100644 --- a/src/PVE/Storage/ESXiPlugin.pm +++ b/src/PVE/Storage/ESXiPlugin.pm @@ -875,6 +875,7 @@ sub is_windows { my %guest_types_windows = ( 'dos' => 'other', + 'longhorn' => 'w2k8', 'winNetBusiness' => 'w2k3', 'windows9' => 'win10', 'windows9-64' => 'win10', -- 2.39.5