Default configurations HG8245H

I have a provision script that send paramters to a huawei ONT HG8245H when reboots and factory reset, this works fine but after a while ONT removes this configs and comes back to original config. any comments?

Sounds like something to talk to the device manufacturer about. ONTs/CPEs should not lose their config unless acted upon by an external force.