Sha256: 86f8538890c0d14bd25173da47a8411df429e8332e3c290fb74f0052c42921c3
Contents?: true
Size: 803 Bytes
Versions: 2
Compression:
Stored size: 803 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], @machine.config.winrm.username, @machine.config.winrm.password, transport: @machine.config.winrm.transport, port: winrm_info[:port], timeout_in_seconds: @machine.config.winrm.timeout, max_tries: @machine.config.winrm.max_tries) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vagrant-winrm-s-0.0.3 | lib/vagrant-winrm-s/communicator.rb |
vagrant-winrm-s-0.0.2 | lib/vagrant-winrm-s/communicator.rb |