Sfoglia il codice sorgente

Merge pull request #111 from rmeleromira/patch-1

Adds ability to set mtu in reclass
pull/112/head
Filip Pytloun 7 anni fa
parent
commit
c5dd63653e
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. +3
    -0
      linux/network/interface.sls

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

@@ -122,6 +122,9 @@ linux_interface_{{ interface_name }}:
- enabled: {{ interface.enabled }}
- name: {{ interface_name }}
- type: {{ interface.type }}
{% if interface.mtu is defined %}
- mtu: {{ interface.mtu }}
{% endif %}
{%- if interface.address is defined %}
{%- if grains.os_family == 'Debian' %}
- proto: {{ interface.get('proto', 'static') }}

Loading…
Annulla
Salva