Module Facter::Util::Virtual
In: lib/facter/util/virtual.rb

Methods

Public Class methods

lspci is a delegating helper method intended to make it easier to stub the system call without affecting other calls to Facter::Util::Resolution.exec

Cloudlinux uses OpenVZ to a degree, but always has an empty /proc/vz/ and has /proc/lve/list present

So one can either have 6728 work on OpenVZ or Cloudlinux. Whoo.

virt_what is a delegating helper method intended to make it easier to stub the system call without affecting other calls to Facter::Util::Resolution.exec

[Validate]