Sha256: 88d6c2b331e463d3633d6d85d84c4057e067dfa545511eb9e80f2b380b210fa5

Contents?: true

Size: 825 Bytes

Versions: 4

Compression:

Stored size: 825 Bytes

Contents

require "vagrant-skytap/hosts/common/cap/ssh_tunnel"

module VagrantPlugins
  module Skytap
    module HostWindows
      module Cap
        class SSHTunnel < VagrantPlugins::Skytap::HostCommon::Cap::SSHTunnel
          def self.create_logger
            Log4r::Logger.new("vagrant::hosts::windows")
          end

          def self.start_ssh_tunnel(env, fp, env_hash)
            raise Errors::FeatureNotSupportedForHostOs, feature_name: "port forwarding"
          end

          def self.kill_ssh_tunnel(env, pidfile, env_hash)
            raise Errors::FeatureNotSupportedForHostOs, feature_name: "port forwarding"
          end

          def self.kill_ssh_tunnel(env, machine)
            raise Errors::FeatureNotSupportedForHostOs, feature_name: "port forwarding"
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-skytap-0.2.3 lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb
vagrant-skytap-0.2.2 lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb
vagrant-skytap-0.2.1 lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb
vagrant-skytap-0.2.0 lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb