# File lib/ohai/plugins/rackspace.rb, line 59
def get_ip_address(name, eth)
  network[:interfaces][eth][:addresses].each do |key, info|
    if info['family'] == 'inet'
      rackspace[name] = key
      break # break when we found an address
    end
  end
end