From 2dd551672652a86a449e936b516c12bfa8f2fdfb Mon Sep 17 00:00:00 2001 From: Casey Callendrello Date: Thu, 31 Oct 2019 17:26:32 +0100 Subject: [PATCH] templates: tell NetworkManager to ignore interfaces The recent os bump includes the OVS plugin for NetworkManager, causing it to manage interfaces that were previously left unmanaged. This functionality will be used, so we can't tell it to ignore all interfaces of type openvswitch. So, add the interfaces created by openshift-sdn and ovn-kubernetes to the Unmanaged list. --- templates/common/_base/files/nm-ignore-sdn.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 templates/common/_base/files/nm-ignore-sdn.yaml diff --git a/templates/common/_base/files/nm-ignore-sdn.yaml b/templates/common/_base/files/nm-ignore-sdn.yaml new file mode 100644 index 0000000000..52d4a18bb1 --- /dev/null +++ b/templates/common/_base/files/nm-ignore-sdn.yaml @@ -0,0 +1,9 @@ +filesystem: "root" +mode: 0644 +path: "/etc/NetworkManager/conf.d/sdn.conf" +contents: + inline: | + # ignore known SDN-managed devices + [device] + match-device=interface-name:br-int;interface-name:br-local;interface-name:br-nexthop,interface-name:k8s-*;interface-name:tun0;interface-name:br0;driver:veth + managed=0