From 45e7574ef8c54833854a0042fb99b0f7f6afabf6 Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Sun, 27 Oct 2019 20:27:49 +0100 Subject: [PATCH] [modules/nic] Exclude bridge devices by default fixes #460 --- bumblebee/modules/nic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bumblebee/modules/nic.py b/bumblebee/modules/nic.py index 56a0bdc..f0e9cc3 100644 --- a/bumblebee/modules/nic.py +++ b/bumblebee/modules/nic.py @@ -6,7 +6,7 @@ Requires the following python module: * netifaces Parameters: - * nic.exclude: Comma-separated list of interface prefixes to exclude (defaults to "lo,virbr,docker,vboxnet,veth") + * nic.exclude: Comma-separated list of interface prefixes to exclude (defaults to "lo,virbr,docker,vboxnet,veth,br") * nic.states: Comma-separated list of states to show (prefix with "^" to invert - i.e. ^down -> show all devices that are not in state down) * nic.format: Format string (defaults to "{intf} {state} {ip} {ssid}") """ @@ -23,7 +23,7 @@ class Module(bumblebee.engine.Module): def __init__(self, engine, config): widgets = [] super(Module, self).__init__(engine, config, widgets) - self._exclude = tuple(filter(len, self.parameter("exclude", "lo,virbr,docker,vboxnet,veth").split(","))) + self._exclude = tuple(filter(len, self.parameter("exclude", "lo,virbr,docker,vboxnet,veth,br").split(","))) self._states = {} self._states["include"] = []