Commit fcf041f0 authored by Lars Beckers's avatar Lars Beckers
Browse files

networkd: add GatewayOnLink route option

parent 2667907f
Pipeline #2784 passed with stage
in 1 minute and 41 seconds
......@@ -22,6 +22,13 @@ IPForward=yes
{% if route.gateway is defined %}
Gateway={{ route.gateway }}
{% endif %}
{% if route.gateway_on_link is defined %}
{% if ansible_distribution_major_version|int <= 10 %}
GatewayOnlink={{ route.gateway_on_link }}
{% else %}
GatewayOnLink={{ route.gateway_on_link }}
{% endif %}
{% endif %}
{% if route.destination is defined %}
Destination={{ route.destination }}
{% endif %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment