Sha256: 6af4eeec0d80328784e9b51b20ae6dba63e6db0262ea901c5ac2bddd19b2f38c

Contents?: true

Size: 586 Bytes

Versions: 1

Compression:

Stored size: 586 Bytes

Contents

require "timeout"
require "log4r"

require "vagrant/../../plugins/communicators/winrm/helper"
require_relative "shell"
require "vagrant/../../plugins/communicators/winrm/communicator"

module VagrantPlugins
  module CommunicatorWinRM
    class WinrmSCommunicator < Communicator
      def initialize(machine)
        super(machine)
      end

      protected

      def create_shell
        winrm_info = Helper.winrm_info(@machine)

        WinRMSShell.new(
          winrm_info[:host],
          winrm_info[:port],
          @machine.config.winrm
        )
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-winrm-s-0.0.4 lib/vagrant-winrm-s/communicator.rb