Sfoglia il codice sorgente

add metric-option to network/interface (for debian only) (#229)

pull/231/head
Michael Feger 3 anni fa
parent
commit
904b70d7a0
Nessun account collegato all'indirizzo email del committer
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

@@ -269,6 +269,9 @@ linux_interface_{{ interface_name }}:
{%- if interface.name_servers is defined %}
- dns: {{ interface.name_servers }}
{%- endif %}
{%- if interface.metric is defined and grains.os_family == 'Debian' %}
- metric: {{ interface.metric }}
{%- endif %}
{%- if interface.wireless is defined and grains.os_family == 'Debian' %}
{%- if interface.wireless.security == "wpa" %}
- wpa-ssid: {{ interface.wireless.essid }}

Loading…
Annulla
Salva