[Git-commits] [grml/grml-autoconfig] 5b6b38: Improve VM detection when running inside recent ve...

Michael Prokop mika at grml.org
Fri May 11 09:13:50 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-autoconfig
  Commit: 5b6b38a1878586cbd91c514c037f4f84bb60fbfc
      https://github.com/grml/grml-autoconfig/commit/5b6b38a1878586cbd91c514c037f4f84bb60fbfc
  Author: Michael Prokop <mika at grml.org>
  Date:   2018-05-11 (Fri, 11 May 2018)

  Changed paths:
    M autoconfig.functions

  Log Message:
  -----------
  Improve VM detection when running inside recent versions of VirtualBox

When running e.g. inside VirtualBox 5.2.6 + 5.2.10 on Windows
virt-what and imvirt report different results than expected, as in:

| # virt-what
| virtualbox
| kvm
|
| # imvirt
| KVM

Explicitely check for VMware, KVM + VirtualBox and don't stop
at first hit. Check for expected VM technology within its output
instead of relying on a single string comparison.

Thanks: Martin Besser for the bugreport and providing the relevant output



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Git-commits mailing list