mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-06-10 17:20:16 -04:00
Refactor SSHRun action to make room for remote overrides
This commit is contained in:
parent
6471a5a310
commit
fda2bcf0cd
1 changed files with 5 additions and 1 deletions
|
|
@ -70,11 +70,15 @@ module Vagrant
|
|||
|
||||
opts[:extra_args] << command
|
||||
opts[:subprocess] = true
|
||||
env[:ssh_run_exit_status] = Util::SSH.exec(info, opts)
|
||||
env[:ssh_run_exit_status] = _raw_ssh_exec(env, info, opts)
|
||||
|
||||
# Call the next middleware
|
||||
@app.call(env)
|
||||
end
|
||||
|
||||
def _raw_ssh_exec(env, info, opts)
|
||||
Util::SSH.exec(info, opts)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue