Sha256: b84ce5a4972d4d447ceb714c6d4ae31221120745b9e464c40af6ed85121390e1

Contents?: true

Size: 332 Bytes

Versions: 25

Compression:

Stored size: 332 Bytes

Contents

module Veewee
  module Provider
    module Kvm
      module BoxCommand
        def ip_address
          ip=@connection.servers.all(:name => "#{name}").first.public_ip_address
          return [*ip].first unless ip.nil?
          return ip
        end

      end # End Module
    end # End Module
  end # End Module
end # End Module

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
veewee-0.3.4 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.3.3 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.3.2 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.3.1 lib/veewee/provider/kvm/box/helper/ip.rb
veewee-0.3.0.beta2 lib/veewee/provider/kvm/box/helper/ip.rb