Browse Source

Merge pull request #136 from alexandruavadanii/network-routes-noifupdown

routes: Skip network restart on 'noifupdown'
pull/143/merge
Aleš Komárek 6 years ago
parent
commit
509bf8d882
No account linked to committer's email address
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      linux/network/interface.sls

+ 3
- 0
linux/network/interface.sls View File

@@ -357,6 +357,9 @@ linux_network_{{ interface_name }}_routes:
gateway: {{ route.gateway }}
{%- endif %}
{%- endfor %}
{%- if interface.noifupdown is defined %}
- require_reboot: {{ interface.noifupdown }}
{%- endif %}

{%- endif %}


Loading…
Cancel
Save