Rc.local execution after configuration is applied


#1

Obviously rc-local.service and therefore the vyatta-postconfig-bootup.script are executed before the VyOS configuration is fully applied to the system, at least in 1.2.x (and RC7). This can be a major problem if you want to change some system settings which depend on the full system configuration. Iirc, this was not the case in earlier VyOS or Vyatta versions. I tried changing this behavior via systemd, by adding
[Install] WantedBy=multi-user.target
to rc-local.service, but it doesn’t help. Is there any way to change this behavior, so that those setting get applied after the configuration is ready?

Thank you very much!