Don't block systemd-networkd-wait-online on core interface being stuck in configuring

This commit is contained in:
Sandro - 2022-08-05 22:56:49 +02:00
parent 89df3792d6
commit 6655e5e6a9
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 5 additions and 0 deletions

View File

@ -64,6 +64,11 @@ in lib.mkIf (pppoeInterfaces != {}) {
in networks // {
"${ifName}" = {
matchConfig.Name = "${ifName}";
linkConfig = lib.optionalAttrs (ifName == "core") {
# interface is stuck in "routable (configuring)" and blocks systemd-networkd-wait-online
# TODO: figure out why exactly
RequiredForOnline = false;
};
networkConfig = {
DHCP = lib.mkForce "ipv6";
# accept config set by pppd