Sha256: 67c3322738811819287799f381868548ad4170d2903cd06086f7361eecf2d096

Contents?: true

Size: 527 Bytes

Versions: 7

Compression:

Stored size: 527 Bytes

Contents

module VagrantPlugins
  module VCenter
    module Cap
      module PublicAddress
        def self.public_address(machine)
          # Initial try for vagrant share feature.
          # It seems ssh_info[:port] is given automatically.
          # I think this feature was built planning that the port forwarding
          # and networking was done on the vagrant machine, which isn't the
          # case in vagrant-vcloud

          ssh_info = machine.ssh_info
          ssh_info[:host]
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
vagrant-vcenter-0.3.3 lib/vagrant-vcenter/cap/public_address.rb
vagrant-vcenter-0.3.2 lib/vagrant-vcenter/cap/public_address.rb
vagrant-vcenter-0.3.1 lib/vagrant-vcenter/cap/public_address.rb
vagrant-vcenter-0.3.0 lib/vagrant-vcenter/cap/public_address.rb
vagrant-vcenter-0.2.1 lib/vagrant-vcenter/cap/public_address.rb
vagrant-vcenter-0.2.0 lib/vagrant-vcenter/cap/public_address.rb
vagrant-vcenter-0.1.1 lib/vagrant-vcenter/cap/public_address.rb