diff options
author | Chris Bajumpaa <cbajumpaa@brightcove.com> | 2018-05-24 15:54:21 -0400 |
---|---|---|
committer | Chris Bajumpaa <cbajumpaa@brightcove.com> | 2018-05-24 15:54:21 -0400 |
commit | fc79b555acad1621c21e5decf4a59e9bfb92b15b (patch) | |
tree | d452b0cfddd69743774bb6e932ae96c70ee53b16 | |
parent | b1368e53533147d8c494ad631247a81ac64b353e (diff) | |
download | ohai-fc79b555acad1621c21e5decf4a59e9bfb92b15b.tar.gz |
Detect virtualization on newer AWS instance types. (m5)
-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 |