Cnmaestro: Reboot before software upgrade

Hello

what if the cnmaestro procedure reboots the CPE before loading firmware upgrade? It will zeorize the possibility to fail the procedure.