Sfoglia il codice sorgente

Merge pull request #11 from msciciel/master

routes: pass gateway param only if defined
pull/9/merge
Arnold Bechtoldt 9 anni fa
parent
commit
16ed4ce11b
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      network/routes.sls

+ 2
- 0
network/routes.sls Vedi File

@@ -16,6 +16,8 @@ routes_{{ v.name|default(k) }}:
- name: {{ net.name }}
ipaddr: {{ net.ipaddr }}
netmask: {{ net.netmask }}
{% if net.gateway is defined %}
gateway: {{ net.gateway }}
{% endif %}
{% endfor %}
{% endfor %}

Loading…
Annulla
Salva