def METHOD_NAME():
    """Generate a machine_id equals to a one generated by systemd
    This function returns contents of /etc/machine-id
    Returns a machine ID as string or throws RuntimeException.
    """
    try:
        with open('/etc/machine-id', 'r') as midf:
            return "".join((l.strip() for l in midf))
    except IOError as ex:
        raise RuntimeError("Could not use systemd's machine-id: {0}"
                .format(str(ex)))