Comment 68 for bug 2036358

Revision history for this message
Nick Rosbrook (enr0n) wrote :

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.