diff options
author | Marco d'Itri <md@linux.it> | 2010-08-31 21:44:34 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2010-08-31 21:44:34 +0200 |
commit | af29bf0966994bc233282148f519e12ea29e1c5a (patch) | |
tree | b9b8d0288116bc002464a72d47c43e30f51c53d9 /extras | |
parent | 326c5fc3ea684825629eccaf33a548759162a539 (diff) |
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.
Diffstat (limited to 'extras')
-rw-r--r-- | extras/rule_generator/75-persistent-net-generator.rules | 3 |
1 files changed, 3 insertions, 0 deletions
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" |