Skip to content

Commit

Permalink
Merge pull request #1201 from coderanger/m5_aws
Browse files Browse the repository at this point in the history
Detect virtualization on newer AWS instance types. (m5)
  • Loading branch information
tas50 authored Jun 4, 2018
2 parents a8d9ad1 + 272007f commit 2972437
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ coverage/
.bundle
*~
vendor
.idea/*
2 changes: 2 additions & 0 deletions lib/ohai/mixin/dmi_decode.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ def guest_from_dmi(dmi_data)
return "bhyve"
when /Manufacturer: Veertu/
return "veertu"
when /Manufacturer: Amazon EC2/
return "amazonec2"
end
end
nil
Expand Down

0 comments on commit 2972437

Please sign in to comment.