Change alias from eth1 to eth0 (this changes the alias name on ethernet / network cards)
udev: renamed network interface eth0 to eth1
- Edit file
/lib/udev/rules.d/75-persistent-net-generator.rules
and set a bypass for coLinux in same way as xen or UML does it. Add the with + marked lines after the entry Xen (near line 26):
--- /lib/udev/rules.d/75-persistent-net-generator.rules.orig
+++ /lib/udev/rules.d/75-persistent-net-generator.rules
@@ -23,6 +23,9 @@
# ignore Xen virtual interfaces
SUBSYSTEMS=="xen", GOTO="persistent_net_generator_end"
+# ignore coLinux virtual interfaces
+DRIVERS=="conet", GOTO="persistent_net_generator_end"
+
# read MAC address
ENV{MATCHADDR}="$attr{address}"
- Edit file
/etc/udev/rules.d/70-persistent-net.rules
and remove all lines. You will mostly find a lot of them. Please remove them all.
- Here is a typically patch:
--- /etc/udev/rules.d/70-persistent-net.rules.orig
+++ /etc/udev/rules.d/70-persistent-net.rules
@@ -4,5 +4,3 @@
#
# You can modify it, as long as you keep each rule on a single line.
-# Networking Interface (rule written by anaconda)
-SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:f2:4f:6b", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
Nenhum comentário:
Postar um comentário