Class: Specinfra::Command::Base::Localhost

Inherits:
Specinfra::Command::Base show all
Defined in:
lib/specinfra/command/base/localhost.rb

Class Method Summary collapse

Methods inherited from Specinfra::Command::Base

create, escape

Class Method Details

.check_is_ec2_instanceObject


3
4
5
# File 'lib/specinfra/command/base/localhost.rb', line 3

def check_is_ec2_instance
  'curl --connect-timeout=1 http://169.254.169.254:80/'
end