diff --git a/bundles/systemd-networkd/files/template-iface-nodhcp.network b/bundles/systemd-networkd/files/template-iface-nodhcp.network index 7ce3c60..bdbaed0 100644 --- a/bundles/systemd-networkd/files/template-iface-nodhcp.network +++ b/bundles/systemd-networkd/files/template-iface-nodhcp.network @@ -19,7 +19,7 @@ Address=${ip}/${prefix} % for route, rconfig in sorted(config.get('routes', {}).items()): [Route] % if 'via' in rconfig: -Gateway=${route['via']} +Gateway=${rconfig['via']} % endif Destination=${route} GatewayOnlink=yes