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:
parent
654558a7bd
commit
9bcd07e107
|
@ -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 }}
|
||||
|
||||
|
|
Loading…
Reference in New Issue