From af29bf0966994bc233282148f519e12ea29e1c5a Mon Sep 17 00:00:00 2001 From: Marco d'Itri Date: Tue, 31 Aug 2010 21:44:34 +0200 Subject: do not create persistent name rules for KVM network interfaces The virtual interfaces created by KVM are stable, 54:52:00 is the MAC-48 range of KVM. --- extras/rule_generator/75-persistent-net-generator.rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extras/rule_generator/75-persistent-net-generator.rules b/extras/rule_generator/75-persistent-net-generator.rules index a9dfdce7a5..8119d0ea2f 100644 --- a/extras/rule_generator/75-persistent-net-generator.rules +++ b/extras/rule_generator/75-persistent-net-generator.rules @@ -29,6 +29,9 @@ ENV{MATCHADDR}="$attr{address}" # match interface type ENV{MATCHIFTYPE}="$attr{type}" +# ignore KVM virtual interfaces +ENV{MATCHADDR}=="54:52:00:*", GOTO="persistent_net_generator_end" + # These vendors are known to violate the local MAC address assignment scheme # Interlan, DEC (UNIBUS or QBUS), Apollo, Cisco, Racal-Datacom ENV{MATCHADDR}=="02:07:01:*", GOTO="globally_administered_whitelist" -- cgit v1.2.3-54-g00ecf