mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Some SSH command cleanup
This commit is contained in:
parent
b1ced46d7c
commit
f1c1dfad2f
1 changed files with 1 additions and 5 deletions
|
|
@ -50,6 +50,7 @@ module VagrantPlugins
|
|||
:extra_args => options[:ssh_args]
|
||||
}
|
||||
|
||||
@logger.debug("Invoking `ssh` action on machine")
|
||||
vm.action(:ssh, :ssh_opts => opts)
|
||||
end
|
||||
end
|
||||
|
|
@ -80,11 +81,6 @@ module VagrantPlugins
|
|||
# Exit with the exit status we got from executing the command
|
||||
exit exit_status
|
||||
end
|
||||
|
||||
def ssh_connect(vm, opts)
|
||||
@logger.debug("`exec` into ssh prompt")
|
||||
vm.ssh.exec(opts)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue