chiark / gitweb /
Add alternative KVM MAC address blacklist
authorMartin Pitt <martin.pitt@ubuntu.com>
Thu, 2 Sep 2010 09:11:32 +0000 (11:11 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Thu, 2 Sep 2010 09:11:32 +0000 (11:11 +0200)
Reportedly, older KVM/Qemu instances indeed do use 54:52:00:*,
so add this as an alternative.

extras/rule_generator/75-persistent-net-generator.rules

index f150e55..2df1674 100644 (file)
@@ -30,7 +30,7 @@ ENV{MATCHADDR}="$attr{address}"
 ENV{MATCHIFTYPE}="$attr{type}"
 
 # ignore KVM virtual interfaces
-ENV{MATCHADDR}=="52:54:00:*", GOTO="persistent_net_generator_end"
+ENV{MATCHADDR}=="52:54:00:*|54:52:00:*", GOTO="persistent_net_generator_end"
 # ignore VMWare virtual interfaces
 ENV{MATCHADDR}=="00:0c:29:*|00:50:56:*", GOTO="persistent_net_generator_end"