Sha256: b97df282662fee2e825ae51817b98b992a65a9d4d169ee74ddbc01d12b74cdae

Contents?: true

Size: 305 Bytes

Versions: 7

Compression:

Stored size: 305 Bytes

Contents

module Vagrant
  class VM
    def winrm
      @winrm ||= WinRM.new(self)
    end

    def channel
      if @guest.class.eql? Vagrant::Guest::Windows
        @channel ||= Communication::WinRM.new(self)
      else
        @channel ||= Communication::SSH.new(self)
      end
      @channel 
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
realityforge-vagrant-windows-0.1.4 lib/vagrant-windows/monkey_patches/vm.rb
vagrant-windows-0.1.2 lib/vagrant-windows/monkey_patches/vm.rb
vagrant-windows-0.1.1 lib/vagrant-windows/monkey_patches/vm.rb
vagrant-windows-0.1.0 lib/vagrant-windows/monkey_patches/vm.rb
vagrant-windows-0.0.3 lib/vagrant-windows/monkey_patches/vm.rb
vagrant-windows-0.0.2 lib/vagrant-windows/monkey_patches/vm.rb
vagrant-windows-0.0.1 lib/vagrant-windows/monkey_patches/vm.rb