Update ec2.rb  

AWS/EC2 instance MAC addresses are no longer isolated to "fe:ff:ff:ff:ff:ff", and therefore throws off the EC2 detection logic.   The best approach is to just check for the AWS/EC2 metadata server.