* Don't try to start dhclient on the wmaster0 interface. This just

gets rid of endless dhclient log messages such as

    Jul 16 19:09:30 dutibo dhclient: DHCPDISCOVER on wmaster0 to 255.255.255.255 port 67 interval 19
    Jul 16 19:09:30 dutibo dhclient: send_packet: Network is down

svn path=/nixos/branches/modular-nixos/; revision=16407
This commit is contained in:
Eelco Dolstra 2009-07-16 17:25:50 +00:00
parent b58682401e
commit 3abf509637

View file

@ -6,7 +6,7 @@ let
inherit (pkgs) nettools dhcp lib;
# Don't start dhclient on explicitly configured interfaces.
ignoredInterfaces = ["lo"] ++
ignoredInterfaces = ["lo" "wmaster0"] ++
map (i: i.name) (lib.filter (i: i ? ipAddress) config.networking.interfaces);
stateDir = "/var/lib/dhcp"; # Don't use /var/state/dhcp; not FHS-compliant.