diff options
author | jim-p <jimp@pfsense.org> | 2017-01-07 18:55:13 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2017-01-07 18:55:13 -0500 |
commit | 9a54824095c4b809326e5326877c20d40cb07fab (patch) | |
tree | d797715182f799f8e807375a615fe3f5e7983fad /src/etc/inc/system.inc | |
parent | 6d55e876755d422e97bacb336f52f577087aa71c (diff) | |
download | pfsense-9a54824095c4b809326e5326877c20d40cb07fab.zip pfsense-9a54824095c4b809326e5326877c20d40cb07fab.tar.gz |
Add VMware detection to system_identify_specific_platform(). Ticket #6882
Diffstat (limited to 'src/etc/inc/system.inc')
-rw-r--r-- | src/etc/inc/system.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/etc/inc/system.inc b/src/etc/inc/system.inc index 4518c5f..1067316 100644 --- a/src/etc/inc/system.inc +++ b/src/etc/inc/system.inc @@ -2233,6 +2233,11 @@ function system_identify_specific_platform() { return (array('name' => 'Hyper-V', 'descr' => 'Hyper-V Virtual Machine')); } break; + case 'VMware Virtual Platform': + if ($maker[0] == "VMware, Inc.") { + return (array('name' => 'VMware', 'descr' => 'VMware Virtual Machine')); + } + break; } if (strpos($hw_model, "PC Engines WRAP") !== false) { |