summaryrefslogtreecommitdiff
path: root/src/etc/udev/rules.d/62-temporary-interface-rename.rules
diff options
context:
space:
mode:
authorDmitriyEshenko <dmitriy.eshenko@vyos.io>2021-11-08 17:20:03 +0000
committerDmitriyEshenko <dmitriy.eshenko@vyos.io>2021-11-09 19:09:40 +0000
commitee02ca93ec7be75edd0ec4c0e07fe5d51a45edc6 (patch)
tree550eded1f03e3479231d9df89253f9debb392c43 /src/etc/udev/rules.d/62-temporary-interface-rename.rules
parent73be449b1cd09f3ca86400753630fb4804fbeca7 (diff)
downloadvyos-1x-ee02ca93ec7be75edd0ec4c0e07fe5d51a45edc6.tar.gz
vyos-1x-ee02ca93ec7be75edd0ec4c0e07fe5d51a45edc6.zip
interface-names: T3871: Add temporary interface names to properly renaming
Diffstat (limited to 'src/etc/udev/rules.d/62-temporary-interface-rename.rules')
-rw-r--r--src/etc/udev/rules.d/62-temporary-interface-rename.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/etc/udev/rules.d/62-temporary-interface-rename.rules b/src/etc/udev/rules.d/62-temporary-interface-rename.rules
new file mode 100644
index 000000000..4a579dcab
--- /dev/null
+++ b/src/etc/udev/rules.d/62-temporary-interface-rename.rules
@@ -0,0 +1 @@
+SUBSYSTEM=="net", ACTION=="add", KERNEL=="eth*", DRIVERS=="?*", NAME="e$env{IFINDEX}"