If you have a bunch of unmanaged interfaces, then you should use a drop-in configuration to pass the --any flag to systemd-networkd-wait-online:
cat > /etc/systemd/system/systemd-networkd-wait-online.service.d/any.conf << EOF [Service] ExecStart= ExecStart=/lib/systemd/systemd-networkd-wait-online --any EOF
This makes it so that systemd-networkd-wait-online will return success once at least one interface becomes configured.
If you have a bunch of unmanaged interfaces, then you should use a drop-in configuration to pass the --any flag to systemd- networkd- wait-online:
cat > /etc/systemd/ system/ systemd- networkd- wait-online. service. d/any.conf << EOF /lib/systemd/ systemd- networkd- wait-online --any
[Service]
ExecStart=
ExecStart=
EOF
This makes it so that systemd- networkd- wait-online will return success once at least one interface becomes configured.