[systemd-devel] networkd - DHCP timeout ?

Tom Gundersen teg at jklm.no
Wed Feb 11 03:42:33 PST 2015


On Wed, Feb 11, 2015 at 12:11 PM, Vasiliy Tolstov <v.tolstov at selfip.ru> wrote:
> Nice, can you say how to reduce timeout manually to 30s? Where I need to
> change value?

systemd-networkd-wait-online gained two new features in git (online
manpages are still lagging):

       --ignore=
           Network interfaces to be ignored when deciding if the
system is online. By default only the loopback interface is ignored.
This option may be used more than once to ignore multiple network
interfaces.

       --timeout=
           Fail the service if the network is not online by the time
the timeout elapses. A timeout of 0 disables the timeout. Defaults to
120 seconds.


So you'll just have to override that unit file to add what you want.

-t


More information about the systemd-devel mailing list