diff --git a/CHANGELOG.md b/CHANGELOG.md index fb6dd9d..bd7cac3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -77,7 +77,8 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. | Version | Date | Comment | | -------------- | -------------- | -------- | -| 5.6.19 | 2021-05-06 | `services()` modified service listing (linux) | +| 5.6.20 | 2021-05-07 | `system()` fixed vm detection (linux) | +| 5.6.19 | 2021-05-06 | `services()` modified service listing (linux) | | 5.6.18 | 2021-05-06 | `processes()` fixed Windows mem bug (naming conform to all platforms) | | 5.6.17 | 2021-05-05 | `networkInterfaces()` fixed Windows XP bug (WMIC NetEnabled) | | 5.6.16 | 2021-05-05 | `graphics()` fixed compare bug | diff --git a/docs/history.html b/docs/history.html index 3a5a1fa..7afb22b 100644 --- a/docs/history.html +++ b/docs/history.html @@ -56,6 +56,11 @@ + + 5.6.20 + 2021-05-07 + system() fixed vm detection (linux) + 5.6.19 2021-05-06 diff --git a/docs/index.html b/docs/index.html index 659d6e5..17ab6ca 100644 --- a/docs/index.html +++ b/docs/index.html @@ -170,7 +170,7 @@
systeminformation
 
-
New Version: 5.6.19
+
New Version: 5.6.20
diff --git a/lib/system.js b/lib/system.js index 762da34..e42ce7b 100644 --- a/lib/system.js +++ b/lib/system.js @@ -159,7 +159,7 @@ function system(callback) { result.model = 'Docker Container'; } try { - const stdout = execSync('dmesg 2>/dev/null | grep -iE "virtual|hypervisor" | grep -iE "vmware|qemu|kvm|xen"'); + const stdout = execSync('dmesg 2>/dev/null | grep -iE "virtual|hypervisor" | grep -iE "vmware|qemu|kvm|xen" | grep -vi "Nested Virtualization"'); // detect virtual machines let lines = stdout.toString().split('\n'); if (lines.length > 0) {