# File lib/ohai/plugins/rackspace.rb, line 73 def get_global_ipv6_address(name, eth) network[:interfaces][eth][:addresses].each do |key, info| # check if we got an ipv6 address and if its in global scope if info['family'] == 'inet6' && info['scope'] == 'Global' rackspace[name] = key break # break when we found an address end end end