esxi: guest types: use quotes for all hash-map keys

A small coding style patch to make the list of guest-types mapping to
Windows easier to read.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2024-04-09 13:18:50 +02:00
parent f72d3e12e1
commit 10facd3793

View File

@ -874,33 +874,33 @@ sub is_windows {
}
my %guest_types_windows = (
dos => 'other',
winNetBusiness => 'w2k3',
windows9 => 'win10',
'dos' => 'other',
'winNetBusiness' => 'w2k3',
'windows9' => 'win10',
'windows9-64' => 'win10',
windows9srv => 'win10',
'windows9srv' => 'win10',
'windows9srv-64' => 'win10',
'windows11-64' => 'win11',
'windows12-64' => 'win11', # FIXME / win12?
win2000AdvServ => 'w2k',
win2000Pro => 'w2k',
win2000Serv => 'w2k',
win31 => 'other',
windows7 => 'win7',
'win2000AdvServ' => 'w2k',
'win2000Pro' => 'w2k',
'win2000Serv' => 'w2k',
'win31' => 'other',
'windows7' => 'win7',
'windows7-64' => 'win7',
windows8 => 'win8',
'windows8' => 'win8',
'windows8-64' => 'win8',
win95 => 'other',
win98 => 'other',
winNT => 'wxp', # ?
winNetEnterprise => 'w2k3',
'win95' => 'other',
'win98' => 'other',
'winNT' => 'wxp', # ?
'winNetEnterprise' => 'w2k3',
'winNetEnterprise-64' => 'w2k3',
winNetDatacenter => 'w2k3',
'winNetDatacenter' => 'w2k3',
'winNetDatacenter-64' => 'w2k3',
winNetStandard => 'w2k3',
'winNetStandard' => 'w2k3',
'winNetStandard-64' => 'w2k3',
winNetWeb => 'w2k3',
winLonghorn => 'w2k8',
'winNetWeb' => 'w2k3',
'winLonghorn' => 'w2k8',
'winLonghorn-64' => 'w2k8',
'windows7Server-64' => 'w2k8',
'windows8Server-64' => 'win8',
@ -908,9 +908,9 @@ my %guest_types_windows = (
'windows2019srv-64' => 'win10',
'windows2019srvNext-64' => 'win11',
'windows2022srvNext-64' => 'win11', # FIXME / win12?
winVista => 'wvista',
'winVista' => 'wvista',
'winVista-64' => 'wvista',
winXPPro => 'wxp',
'winXPPro' => 'wxp',
'winXPPro-64' => 'wxp',
);