Replace default configuration in RB750, ROS version 4.11

Hi,

Been doing reading into this subject and have tried the following, as suggested in the wiki and other posts in the forums.

  1. Flashfig utility does apply the config script selected, however when “/system default-configuration print” is called the original config (ether1 192.168.88.1 etc.) still shows.
  2. Using netinstall reformats, partitions and installs the new ROS (routeros-mipsbe-4.11.npk) image and applies the config script selected, however the default config is still the original (ether1 192.168.88.1 etc.).

Question:
What would be required to replace the factory shipped default config with a script of my own? When “/system reset-configuration” is executed I want my new custom script to be executed.

Many thanks for your assistance.

play with

system reset-configuration run-after-reset=

hi Chupaka,

Thanks. Yes, it runs the selected script as instructed.

The scenario that I need to cater for is when the reset button is pressed and the default script that is then executed. Perhaps this provides some clarity.

Rgds

Use NetInstall with custom configuration script. ANytime the reset button (or /system reset-configuration) is used, it will revert to the last configuration applied during NetInstall.

Awesome thanks man! I do not recall testing that … it was a while ago, but will definitely give that a go.

rgds
Marthin