Sha256: dfaaf068e845c7b3ad3ae0279e0ff93b534c6f1c0970c56d8dde31d18f094069

Contents?: true

Size: 526 Bytes

Versions: 8

Compression:

Stored size: 526 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

8 entries across 8 versions & 1 rubygems

Version Path
vagrant-vcloud-0.5.0 lib/vagrant-vcloud/cap/public_address.rb
vagrant-vcloud-0.4.7 lib/vagrant-vcloud/cap/public_address.rb
vagrant-vcloud-0.4.6 lib/vagrant-vcloud/cap/public_address.rb
vagrant-vcloud-0.4.4 lib/vagrant-vcloud/cap/public_address.rb
vagrant-vcloud-0.4.3 lib/vagrant-vcloud/cap/public_address.rb
vagrant-vcloud-0.4.2 lib/vagrant-vcloud/cap/public_address.rb
vagrant-vcloud-0.4.1 lib/vagrant-vcloud/cap/public_address.rb
vagrant-vcloud-0.4.0 lib/vagrant-vcloud/cap/public_address.rb