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

- proto: {{ interface.get('proto', 'static') }} - proto: {{ interface.get('proto', 'static') }}
{% endif %} {% endif %}
{%- if grains.os_family == 'RedHat' %} {%- if grains.os_family == 'RedHat' %}
{%- if interface.get('proto', 'none') == 'manual' %}
- proto: 'none'
{%- else %}
- proto: {{ interface.get('proto', 'none') }} - proto: {{ interface.get('proto', 'none') }}
{%- endif %}
{% endif %} {% endif %}
- ipaddr: {{ interface.address }} - ipaddr: {{ interface.address }}
- netmask: {{ interface.netmask }} - netmask: {{ interface.netmask }}

Loading…
Cancel
Save