Class: Vagrant::Command::SSHCommand

Inherits:
NamedBase show all
Defined in:
lib/vagrant/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, #target_vms

Constructor Details

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

Instance Method Details

#executeObject



7
8
9
10
11
12
13
# File 'lib/vagrant/command/ssh.rb', line 7

def execute
  if options[:execute]
    ssh_execute
  else
    ssh_connect
  end
end