lib/kitchen/instance.rb
# Logs in to this instance by invoking a system command, provided by the
# instance's driver. This could be an SSH command, telnet, or serial
# console session.
#
# **Note** This method calls exec and will not return.
#
# @see Driver::LoginCommand
# @see Driver::Base#login_command
Logs in to this instance by invoking a system command, provided by the
instance's driver. This could be an SSH command, telnet, or serial
console session.

Note** This method calls exec and will not return.
Logs in to this instance by invoking a system command provided by the instance ' s driver . This could be an SSH command telnet or serial console session . Note ** This method calls exec and will not return .
def login
      login_command = driver.login_command(state_file.read)
      command, *args = login_command.cmd_array
      options = login_command.options
      debug("Login command: #{command} #{args.join(' ')} (Options: #{options})")
      Kernel.exec(command, *args, options)
    end
def login login_command = driver . login_command ( state_file . read ) command , * args = login_command . cmd_array options = login_command . options debug ( "Login command: #{command} #{args.join(' ')} (Options: #{options})" ) Kernel . exec ( command , * args , options ) end
Logs in to this instance by invoking a system command, provided by the
instance's driver.
Logs in to this instance by invoking a system command provided by the instance ' s driver .
see
None
see
None