Skip to content
Snippets Groups Projects
Commit a4ee5a58 authored by Lars Beckers's avatar Lars Beckers
Browse files

networkd: add debian version safeguard compat on testing

parent 306cb0f6
No related branches found
No related tags found
1 merge request!2Bullseye Compatibility for networkd
Pipeline #2899 passed
...@@ -23,7 +23,7 @@ IPForward=yes ...@@ -23,7 +23,7 @@ IPForward=yes
Gateway={{ route.gateway }} Gateway={{ route.gateway }}
{% endif %} {% endif %}
{% if route.gateway_on_link is defined %} {% if route.gateway_on_link is defined %}
{% if ansible_distribution_major_version|int <= 10 %} {% if ansible_distribution_major_version|int(default=99) < 11 %}
GatewayOnlink={{ route.gateway_on_link }} GatewayOnlink={{ route.gateway_on_link }}
{% else %} {% else %}
GatewayOnLink={{ route.gateway_on_link }} GatewayOnLink={{ route.gateway_on_link }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment