summaryrefslogtreecommitdiffstats
path: root/roles/ib/templates/00-ibnm.rules.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ib/templates/00-ibnm.rules.j2')
-rw-r--r--roles/ib/templates/00-ibnm.rules.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/ib/templates/00-ibnm.rules.j2 b/roles/ib/templates/00-ibnm.rules.j2
new file mode 100644
index 0000000..7025eab
--- /dev/null
+++ b/roles/ib/templates/00-ibnm.rules.j2
@@ -0,0 +1,2 @@
+ENV{INTERFACE}=="ib[0-9]*" ENV{NM_UNMANAGED}="1"
+ENV{ID_NET_DRIVER}=="mlx4_*", ENV{NM_UNMANAGED}="1"