Brian Silverman | a16525a | 2013-09-08 17:46:23 -0700 | [diff] [blame] | 1 | # This is a file that will make any NIC eth0. |
| 2 | # It prevents the persistent net rules generator from running because that ends |
Brian Silverman | 14fd0fb | 2014-01-14 21:42:01 -0800 | [diff] [blame] | 3 | # up naming the 1 NIC eth1 instead of when you move a disk between boxes. |
Brian Silverman | a16525a | 2013-09-08 17:46:23 -0700 | [diff] [blame] | 4 | # Put it in /etc/udev/rules.d/ to use it. |
| 5 | |
| 6 | SUBSYSTEM=="net", ACTION=="add", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" |