fix: systemd-networkd-wait-online timing out
This commit is contained in:
parent
5da9c654ac
commit
30a2bccd40
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue