Revision 2b0dd320
Added by Jim Pingle 9 months ago
src/etc/inc/system.inc | ||
---|---|---|
3305 | 3305 |
break; |
3306 | 3306 |
case 'Virtual Machine': |
3307 | 3307 |
if ($maker[0] == "Microsoft Corporation") { |
3308 |
if (stripos($bios[0], "Hyper") !== false) { |
|
3308 |
if ((stripos($bios[0], "Hyper") !== false) && |
|
3309 |
($g['default-config-flavor'] != 'azure')) { |
|
3309 | 3310 |
return (array('name' => 'Hyper-V', 'descr' => 'Hyper-V Virtual Machine')); |
3310 | 3311 |
} else { |
3311 | 3312 |
return (array('name' => 'Azure', 'descr' => 'Microsoft Azure')); |
Also available in: Unified diff
Identify Azure more accurately.
Gen2 smbios info is indistinguishable between Azure and Hyper-V