Class: Mccloud::Command::SshCommand

Inherits:
Base
  • Object
show all
Defined in:
lib/mccloud/command/ssh.rb

Instance Attribute Summary

Attributes inherited from Base

#env

Instance Method Summary collapse

Methods inherited from Base

#initialize, register

Methods included from Helpers

#initialize_environment

Constructor Details

This class inherits a constructor from Mccloud::Command::Base

Instance Method Details

#executeObject



10
11
12
13
14
15
# File 'lib/mccloud/command/ssh.rb', line 10

def execute
  env.config.providers.each do |name,provider|
    env.logger.debug("Asking provider #{name} to ssh into box #{box_name}")
    provider.ssh(box_name,command,options)
  end
end