def METHOD_NAME(hostname: str, worker_folder: str):
    worker_path = os.path.abspath(os.path.join(CUCKOO_ROOT, dist_conf.NFS.mount_folder, worker_folder))
    if not path_exists(worker_path):
        path_mkdir(worker_path, parent=True, mode=0o755)
    if path_mount_point(worker_path):
        return
    with lock:
        fstab = path_read_file("/etc/fstab", mode="text").split("\n")
        # new line strip
        if fstab[-1] == "":
            fstab = fstab[:-1]
        if any(hostname in entry for entry in fstab if not entry.startswith("#")):
            return
        # hostname:/opt/CAPEv2 /opt/CAPEv2/2 nfs, auto,users,nofail,noatime,nolock,intr,tcp,actimeo=1800, 0 0
        fstab.append(f"{hostname}:/opt/CAPEv2 {worker_path} nfs, auto,user,users,nofail,noatime,nolock,intr,tcp,actimeo=1800, 0 0")
        _ = path_write_file("/etc/fstab", "\n".join(fstab), mode="text")
        try:
            subprocess.check_output(["mount", worker_path])
        except Exception as e:
            print("add_nfs_entry error on mount: %s", str(e))