Disable 70-persistent-net.rules generation on CentOS 6 VM

If you’re like me you probably have an environment that is running on some virtual platform and like everyone else you have built a template to spin Linux systems. One of the things lately we were running into was the “70-persistent-net.rules”, which associated MAC address to Network interfaces.

The easiest way I have found to disable this was to do the following, it’s not pretty but works.

rm /etc/udev/rules.d/70-persistent-net.rules

echo “#” > /lib/udev/rules.d/75-persistent-net-generator.rules

Happy hacking.

Leave a Reply