def get_host_ip4_addresses():
    ip_list = []
    for interface in interfaces():
        if AF_INET in ifaddresses(interface):
            for link in ifaddresses(interface)[AF_INET]:
                ip_list.append(link['addr'])
    return ip_list


# Find the mountpoint of a given path
dataset/ETHPy150Open cloudviz/agentless-system-crawler/crawler/misc.py/get_host_ip4_addresses/original