[systemd-devel] networkd - DHCP timeout ?

Lennart Poettering lennart at poettering.net
Wed Feb 11 04:15:39 PST 2015


On Wed, 11.02.15 16:08, Vasiliy Tolstov (v.tolstov at selfip.ru) wrote:

> 2015-02-11 14:42 GMT+03:00 Tom Gundersen <teg at jklm.no>:
> > 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.
> 
> Thanks! Why not add ability to read environment file for options?

It's a generic tool, people might call with different arguments,
waiting for different interface. I am not sure it's a good idea to
introduce a singular config file for that, given the number of
different contexts this tool might be useful in.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list