On Wed, Feb 11, 2015 at 11:49 AM, Branko <bran...@s5tehnika.net> wrote: > Unless I have overlooked something, there seems to be no way to tell dhcp > client to fail and leave card unset after some timeout. > > We had power interruption, which left dhcp server unconcious and after > rebooting my workstation I couldn't get it up, since it was waiting for dhcp > client to get its response. > > One can set a timeout on unit, but i can't find anything similar for > network.
You can't set a timeout for the dhcp client itself (we will keep trying forever), but you can set a timeout (in current git) on the wait-online service, so that the length of time your boot is blocked is limited. Currently it is set to 120s (in git), but it can be overridden manually. HTH, Tom _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel