summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/system.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2017-01-07 18:55:13 -0500
committerjim-p <jimp@pfsense.org>2017-01-07 18:55:13 -0500
commit9a54824095c4b809326e5326877c20d40cb07fab (patch)
treed797715182f799f8e807375a615fe3f5e7983fad /src/etc/inc/system.inc
parent6d55e876755d422e97bacb336f52f577087aa71c (diff)
downloadpfsense-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.inc5
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) {
OpenPOWER on IntegriCloud