Commit 306cb0f6 authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

Merge branch 'networkd-gateway-on-link' into 'master'

networkd: add GatewayOnLink route option

See merge request !1
parents 2667907f fcf041f0
Pipeline #2794 passed with stage
in 40 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