]> git.proxmox.com Git - pve-storage.git/commitdiff
esxi import: add "longhorn" to possible Windows Server 2008 OS types
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Apr 2024 08:50:06 +0000 (10:50 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Apr 2024 08:50:07 +0000 (10:50 +0200)
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 <t.lamprecht@proxmox.com>
src/PVE/Storage/ESXiPlugin.pm

index df00b73e5dee2e2c4f21b48def8dfe9585bb4a26..b8bce0e7780b1db16139720dc3eb96508d96a26c 100644 (file)
@@ -875,6 +875,7 @@ sub is_windows {
 
 my %guest_types_windows = (
     'dos'                   => 'other',
+    'longhorn'              => 'w2k8',
     'winNetBusiness'        => 'w2k3',
     'windows9'              => 'win10',
     'windows9-64'           => 'win10',