Correct systemd-networkd setup for static routes

Change Source into Destination to have defined static route applying on
the right CIDR and not 0.0.0.0

Change-Id: Id51ece1c72474de07dbf6cf740ecf4f93b2d1adf
Closes-Bug: #1777251
This commit is contained in:
Jean-David Silberzahn 2018-06-16 22:44:34 +07:00
parent 654558a7bd
commit 9bcd07e107
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ RouteMetric=20
{% for route in item.value.static_routes | default([]) %}
[Route]
Source={{ route['cidr'] }}
Destination={{ route['cidr'] }}
Gateway={{ route['gateway'] }}
Metric={{ 20 + loop.index }}