diff options
author | Chris Bajumpaa <cbajumpaa@brightcove.com> | 2018-05-24 15:54:21 -0400 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-06-04 14:23:08 -0700 |
commit | 074979300a6ae94d19beacdb486077ab1bc47e16 (patch) | |
tree | b2ab3d5770f82b0a6e4524dd706d722299be959d | |
parent | 462271b1e20a6984b1a09a8c578e42d5021dc6e9 (diff) | |
download | ohai-m5_aws.tar.gz |
Detect virtualization on newer AWS instance types. (m5)m5_aws
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | lib/ohai/mixin/dmi_decode.rb | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -8,3 +8,4 @@ coverage/ .bundle *~ vendor +.idea/* diff --git a/lib/ohai/mixin/dmi_decode.rb b/lib/ohai/mixin/dmi_decode.rb index 971911c8..d1cb87aa 100644 --- a/lib/ohai/mixin/dmi_decode.rb +++ b/lib/ohai/mixin/dmi_decode.rb @@ -44,6 +44,8 @@ module ::Ohai::Mixin::DmiDecode return "bhyve" when /Manufacturer: Veertu/ return "veertu" + when /Manufacturer: Amazon EC2/ + return "amazonec2" end end nil |