From 6b15d72d8564c5a080e7085962ff665e53e799d1 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Mon, 4 Dec 2023 18:05:21 +0100 Subject: [PATCH] fix: systemd-networkd-wait-online timing out --- hosts/flora-6/configuration.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/hosts/flora-6/configuration.nix b/hosts/flora-6/configuration.nix index 2c49348..7500560 100644 --- a/hosts/flora-6/configuration.nix +++ b/hosts/flora-6/configuration.nix @@ -29,6 +29,17 @@ in { # Force getting the hostname from cloud-init networking.hostName = lib.mkDefault ""; + # We use cloud-init to configure networking, this option should fix + # systemd-networkd-wait-online timeouts + #systemd.services."systemd-networkd".environment.SYSTEMD_LOG_LEVEL = "debug"; + systemd.network.wait-online.ignoredInterfaces = [ + "docker0" + "br-91ba3e5e7589" + "vethd42ed22" + "veth8fbf599" + "vethd62653e" + ]; + # List services that you want to enable: services.cloud-init.enable = true; services.cloud-init.ext4.enable = true;