Re: Excluding a group of interfaces



On Tue, 2015-01-20 at 22:42 -0800, Eugene Yakubovich wrote:
On Tue, Jan 20, 2015 at 1:24 PM, Thomas Haller <thaller redhat com> wrote:
On Mon, 2015-01-19 at 16:53 -0800, Eugene Yakubovich wrote:

For example ignore all interfaces whose name starts with abc. I tried
adding "iface abc*" to /etc/network/interfaces but it seems like globs
are not supported. All these interfaces are veth devices so ignoring
by device type would also work.

Any help would be greatly appreciated.


how about putting into /etc/NetworkManager/NetworkManager.conf


[keyfile]
unmanaged-devices=interface-name:abc*


This didn't seem to do the trick. Are wildcards supported? However I
found that if the veth interface name starts with "veth", it ignores
it. Not ideal solution but definitely workable.


sorry, I was wrong. As you found out, wildcards are not supported --
with exception of a single "*" which matches all.

I opened a bug for that:
https://bugzilla.gnome.org/show_bug.cgi?id=743411


Thomas

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]