Browse Source

Redhat compatibility for proto: manual

tags/2016.12
Filip Pytloun 8 years ago
parent
commit
92d1216546
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      linux/network/interface.sls

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

@@ -91,7 +91,11 @@ linux_interface_{{ interface_name }}:
- proto: {{ interface.get('proto', 'static') }}
{% endif %}
{%- if grains.os_family == 'RedHat' %}
{%- if interface.get('proto', 'none') == 'manual' %}
- proto: 'none'
{%- else %}
- proto: {{ interface.get('proto', 'none') }}
{%- endif %}
{% endif %}
- ipaddr: {{ interface.address }}
- netmask: {{ interface.netmask }}

Loading…
Cancel
Save