Linux: If facter is run as root, it uses virt-what to detect virtualbox via DMI information. Otherwise, it uses lspci output to detect virtualbox.
Windows: via wmi
Solaris: facter runs {{/usr/sbin/prtdiag}} and attempts to match several product names (including virtualbox) to each line of output until it finds something useful.
Linux: If facter is run as root, it uses virt-what to detect virtualbox via DMI information. Otherwise, it uses lspci output to detect virtualbox.
Windows: via wmi
Solaris: facter runs {{/usr/sbin/prtdiag}} and attempts to match several product names (including virtualbox) to each line of output until it finds something useful.
Linux: If facter is run as root, it uses virt-what to detect virtualbox via DMI information. Otherwise, it uses lspci output to detect virtualbox.
Windows: via wmi
Solaris: facter runs {{/usr/sbin/prtdiag}} and attempts to match several product names (including virtualbox) to each line of output until it finds something useful.
Mac OS: facter uses system_profiler's {{boot_rom_version}}, which should be set to VirtualBox