Previously, setting up routes did not allow passing 'require_reboot', so each route change would lead to a networking service restart, rendering interface configuration options like 'noifupdown' useless. Allow disabling network restart per-interface using the existing 'noifupdown' option. Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>pull/136/head
gateway: {{ route.gateway }} | gateway: {{ route.gateway }} | ||||
{%- endif %} | {%- endif %} | ||||
{%- endfor %} | {%- endfor %} | ||||
{%- if interface.noifupdown is defined %} | |||||
- require_reboot: {{ interface.noifupdown }} | |||||
{%- endif %} | |||||
{%- endif %} | {%- endif %} | ||||