Sha256: fde89615305e9dfe7514237d0b425ee65ad78afaf731e4bcce12c9936c71ce58
Contents?: true
Size: 394 Bytes
Versions: 50
Compression:
Stored size: 394 Bytes
Contents
module VagrantPlugins module GuestLinux module Cap module ChooseAddressableIPAddr def self.choose_addressable_ip_addr(machine, possible) comm = machine.communicate possible.each do |ip| if comm.test("ping -c1 -w1 -W1 #{ip}") return ip end end return nil end end end end end
Version data entries
50 entries across 46 versions & 5 rubygems