77
104
# --- look for the vmware video card to determine if it is virtual => vmware.
78
105
# --- 00:0f.0 VGA compatible controller: VMware Inc [VMware SVGA II] PCI Display Adapter
79
106
result = "vmware" if p =~ /VM[wW]are/
80
110
# --- look for pci vendor id used by Parallels video card
81
111
# --- 01:00.0 VGA compatible controller: Unknown device 1ab8:4005
82
112
result = "parallels" if p =~ /1ab8:|[Pp]arallels/
85
118
output = Facter::Util::Resolution.exec('dmidecode')