Recovered from the older tannerjc.net wiki snapshot dated January 23, 2016.

udev and persistent nics

After cloning VMs in el6 or greater, the nics would come up as eth1 and have zero configuration. It is a result of udev’s persistent rules keeping track of historical nics.

http://aaronwalrath.wordpress.com/2011/02/26/cloned-red-hatcentosscientific-linux-virtual-machines-and-device-eth0-does-not-seem-to-be-present-message/

https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.0/html/Evaluation_Guide/Evaluation_Guide-Create_RHEL_Template.html

  • template machine
  • cat /dev/null /etc/udev/rules.d/70-persistent-net.rules
  • poweroff

blah

blah

blah