From f9790912a6a9d8215b355ac8863dd773b717e511 Mon Sep 17 00:00:00 2001 From: mwiegand Date: Tue, 15 Feb 2022 09:18:39 +0100 Subject: [PATCH] fix dep --- bundles/systemd/items.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bundles/systemd/items.py b/bundles/systemd/items.py index 89150f2..fea31d8 100644 --- a/bundles/systemd/items.py +++ b/bundles/systemd/items.py @@ -14,6 +14,9 @@ for name, unit in node.metadata.get('systemd/units').items(): if extension in ['netdev', 'network']: path = f'/etc/systemd/network/{name}' dependencies = { + 'needed_by': [ + 'svc_systemd:systemd-networkd', + ], 'triggers': [ 'svc_systemd:systemd-networkd:restart', ],