Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!1networkd: add GatewayOnLink route option
Pipeline #2794 passed
...@@ -22,6 +22,13 @@ IPForward=yes ...@@ -22,6 +22,13 @@ IPForward=yes
{% if route.gateway is defined %} {% if route.gateway is defined %}
Gateway={{ route.gateway }} Gateway={{ route.gateway }}
{% endif %} {% 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 %} {% if route.destination is defined %}
Destination={{ route.destination }} Destination={{ route.destination }}
{% endif %} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment