We decided for this problem as follows:
- We make a static entry in the DNS on Mikrotik equipment
/ip dns static
add address= "Our web server ip" name=upgrade.mikrotik.com
- On our web-server raised the mirror repository RouterOS fully coincides with the structure of the original.
- Ta-daaaaaaa! /system package update work! Our equipment is updated from our domestic network through.
/system package update check-for-updates
:delay 10s;
:if ( [get current-version] != [get latest-version]) do={
/sys package update install
};
Thnks, Bigfoot → http://forum.mikrotik.com/t/auto-upgrade-script/88005/2