Sha256: 592c96ca9362975359e8d692ca3b4fe4fac29ca63fe63eae7431195cf2b069e8

Contents?: true

Size: 497 Bytes

Versions: 4

Compression:

Stored size: 497 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
vagrant-unbundled-2.3.6.0 lib/vagrant/action/builtin/remote/ssh_run.rb
tamtam-vagrant-reload-1.2.1 vendor/cache/vagrant-2092df529ae7/lib/vagrant/action/builtin/remote/ssh_run.rb
vagrant-unbundled-2.3.3.0 lib/vagrant/action/builtin/remote/ssh_run.rb
vagrant-unbundled-2.3.2.0 lib/vagrant/action/builtin/remote/ssh_run.rb