Skip to content
Snippets Groups Projects

networkd: add GatewayOnLink route option

Merged Lars Beckers requested to merge networkd-gateway-on-link into master
1 file
+ 7
0
Compare changes
  • Side-by-side
  • Inline
@@ -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 %}
Loading