Sha256: f71bad3c70318894dcff464bdf615d6bfa4c55ea3a3f37ca293f6ba4214df305

Contents?: true

Size: 448 Bytes

Versions: 4

Compression:

Stored size: 448 Bytes

Contents

module VagrantPlugins
  module VCenter
    module Cap
      module RDP
        # Reads the RDP 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.rdp_info(machine)
          env = machine.action('read_rdp_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/rdp_info.rb
vagrant-vcenter-0.3.2 lib/vagrant-vcenter/cap/rdp_info.rb
vagrant-vcenter-0.3.1 lib/vagrant-vcenter/cap/rdp_info.rb
vagrant-vcenter-0.3.0 lib/vagrant-vcenter/cap/rdp_info.rb