summaryrefslogtreecommitdiffstats
path: root/nvmf-autoconnect/udev-rules/65-persistent-net-nbft.rules.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--nvmf-autoconnect/udev-rules/65-persistent-net-nbft.rules.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/nvmf-autoconnect/udev-rules/65-persistent-net-nbft.rules.in b/nvmf-autoconnect/udev-rules/65-persistent-net-nbft.rules.in
new file mode 100644
index 0000000..344942b
--- /dev/null
+++ b/nvmf-autoconnect/udev-rules/65-persistent-net-nbft.rules.in
@@ -0,0 +1,2 @@
+# Avoid renaming nbft$X interfaces
+SUBSYSTEM=="net", ACTION!="remove", ENV{INTERFACE}=="nbft*", NAME:="%E{INTERFACE}"