Direktori : /opt/saltstack/salt/lib/python3.10/site-packages/salt/templates/rh_ip/ |
Current File : //opt/saltstack/salt/lib/python3.10/site-packages/salt/templates/rh_ip/rh6_route_eth.jinja |
{%- for route in routes -%} {% if route.name %}# {{route.name}} {%- endif %} {{route.ipaddr}} {%- if route.netmask -%} /{{route.netmask}} {%- endif -%} {%- if route.gateway %} via {{route.gateway}} {%- else %} dev {{iface}} {%- endif %} {%- if route.metric %} metric {{route.metric}} {%- endif %} {% endfor -%}