Sha256: a3c55d17fefa8d041578635eba523aa829b95403aa224acca18bd72710973c47

Contents?: true

Size: 328 Bytes

Versions: 1

Compression:

Stored size: 328 Bytes

Contents

module VagrantPlugins
  module HyperV
    module Cap
      module PublicAddress
        def self.public_address(machine)
          return nil if machine.state.id != :running

          ssh_info = machine.ssh_info
          return nil if !ssh_info
          ssh_info[:host]
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-cloudstack-1.2.0 vendor/bundle/bundler/gems/vagrant-c84e05fd063f/plugins/providers/hyperv/cap/public_address.rb