fix: let kea wait on the macvtap self interface

This commit is contained in:
oddlama 2023-06-03 17:47:50 +02:00
parent d2b2f4021a
commit ba1932d2ef
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -1,6 +1,7 @@
{ {
config, config,
lib, lib,
utils,
... ...
}: let }: let
inherit (config.lib.net) cidr; inherit (config.lib.net) cidr;
@ -169,7 +170,7 @@ in {
}; };
}; };
systemd.services.kea-dhcp4-server.after = ["sys-subsystem-net-devices-lan.device"]; systemd.services.kea-dhcp4-server.after = ["sys-subsystem-net-devices-${utils.escapeSystemdPath "lan-self"}.device"];
extra.microvms.networking = { extra.microvms.networking = {
baseMac = config.repo.secrets.local.networking.interfaces.lan.mac; baseMac = config.repo.secrets.local.networking.interfaces.lan.mac;