forked from pub-solar/infra
fix: systemd-networkd-wait-online timing out
This commit is contained in:
parent
35487b53c7
commit
6b15d72d85
|
@ -29,6 +29,17 @@ in {
|
||||||
# Force getting the hostname from cloud-init
|
# Force getting the hostname from cloud-init
|
||||||
networking.hostName = lib.mkDefault "";
|
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:
|
# List services that you want to enable:
|
||||||
services.cloud-init.enable = true;
|
services.cloud-init.enable = true;
|
||||||
services.cloud-init.ext4.enable = true;
|
services.cloud-init.ext4.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue