diff --git a/lib/ohai/plugins/ec2.rb b/lib/ohai/plugins/ec2.rb index cc273c4e1..556987a2b 100644 --- a/lib/ohai/plugins/ec2.rb +++ b/lib/ohai/plugins/ec2.rb @@ -107,7 +107,6 @@ def file_val_if_exists(path) # @return [Boolean] Does the system appear to be on EC2 def looks_like_ec2? return true if hint?("ec2") - return true if has_ec2_xen_uuid? || has_ec2_amazon_dmi? || has_ec2_xen_dmi? || has_ec2_identifying_number? end