fix: systemd-networkd-wait-online timing out

This commit is contained in:
teutat3s 2023-12-04 18:05:21 +01:00
parent 35487b53c7
commit 6b15d72d85
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -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;