Paul Hinze a4f426d26e
Modify SSH utils server mode behavior so ssh -c works
Still work left to do on exec and stderr separation but this represents
enough working to let vagrant-spec assertions pass so I think it's worth a
checkpoint!
2022-04-25 12:26:48 -05:00

19 lines
497 B
Ruby

module Vagrant
module Action
module Builtin
# This module enables SSHRun for server mode
module Remote
module SSHRun
def _raw_ssh_exec(env, info, opts)
# The Util::SSH package in remote mode expects to be able to
# interact with a UI instead of raw stdin/stderr so the action
# needs to pass that down.
opts[:ui] = env[:ui]
super(env, info, opts)
end
end
end
end
end
end