diff --git a/lib/ohai/plugins/bsd/virtualization.rb b/lib/ohai/plugins/bsd/virtualization.rb index 5317fa9ec..518d664d6 100644 --- a/lib/ohai/plugins/bsd/virtualization.rb +++ b/lib/ohai/plugins/bsd/virtualization.rb @@ -69,7 +69,7 @@ # parse dmidecode to discover various virtualization guests if File.exist?('/usr/local/sbin/dmidecode') || File.exist?('/usr/pkg/sbin/dmidecode') - guest = determine_guest(shell_out('dmidecode').stdout) + guest = guest_from_dmi(shell_out('dmidecode').stdout) if guest virtualization[:system] = guest virtualization[:role] = 'guest'