After several attempts and research on different forums, I come back to you with a problem.
I have a CHR and a hundred Mikrotik devices connected to it.
I can now push updates.
What I want to do is update the Routerboard too.
According to my research, there is no functionality in the CHR.
I would therefore like to create a script which connects in SSH on each Mikrotik router and launches the update command "/ system routerboard upgrade", then a reboot.
I first stumbled on authentication, or it was necessary to enter the password each time. Then I generate a private key to be able to log in automatically without a password.
On the other hand I am still struggling to create a script that would allow me to launch the update of the routerboard. I am having problems with the confirmation of the "y" messages.
Have you ever tried this kind of manipulation?
Do you think this is achievable?