Re: Excluding a group of interfaces



On Mon, 2015-01-19 at 16:53 -0800, Eugene Yakubovich wrote:
Hello NM List,

I need to exclude a group of interfaces from being managed by NM. I'm
running Ubuntu and wanted to use /etc/network/interfaces in
conjunction with manged=false in [ifupdown] section. However I need NM
to ignore a whole bunch of interfaces based on the wildcard in the
name.

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*


(and restart NM)


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]