Sha256: 1fa99a8462f70e3b16acc01c0bcf4d51cad4e694eeb89164ec4af13bf4407b80

Contents?: true

Size: 456 Bytes

Versions: 4

Compression:

Stored size: 456 Bytes

Contents

module VagrantPlugins
  module VCenter
    module Cap
      module WinRM
        # Reads the WinRM forwarded port that currently exists on the machine
        # itself. This raises an exception if the machine isn't running.
        # @return [Hash<Integer, Integer>] Host => Guest port mappings.
        def self.winrm_info(machine)
          env = machine.action('read_winrm_info')
          env[:machine_ssh_info]
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-vcenter-0.3.3 lib/vagrant-vcenter/cap/winrm_info.rb
vagrant-vcenter-0.3.2 lib/vagrant-vcenter/cap/winrm_info.rb
vagrant-vcenter-0.3.1 lib/vagrant-vcenter/cap/winrm_info.rb
vagrant-vcenter-0.3.0 lib/vagrant-vcenter/cap/winrm_info.rb