Sha256: 969588be3bd1b47e9e9d03ea3d9d0e5fc74b821c8e88c4bafec327c41ff110b0

Contents?: true

Size: 528 Bytes

Versions: 2

Compression:

Stored size: 528 Bytes

Contents

module VagrantPlugins
  module VCloud
    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

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-vcloud-0.3.3 lib/vagrant-vcloud/cap/public_address.rb
vagrant-vcloud-0.3.2 lib/vagrant-vcloud/cap/public_address.rb