Skip to content

Commit

Permalink
Update the DMI decode use in BSD
Browse files Browse the repository at this point in the history
  • Loading branch information
tas50 committed Feb 2, 2016
1 parent 638efdb commit da482b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ohai/plugins/bsd/virtualization.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit da482b8

Please sign in to comment.