Carlos Aguni

Highly motivated self-taught IT analyst. Always learning and ready to explore new skills. An eternal apprentice.


VM Clone prevent mac address dup

22 Mar 2022 »

https://serverfault.com/questions/629640/when-cloning-a-vmware-virtual-machine-how-can-i-prevent-mac-address-uuid-conf

Since device persistence stuff is just getting in the way for these VMs, rip it out:

  • Completely remove the HWADDR and UUID lines from the ifcfg file, and
  • Delete /etc/udev/rules.d/70-persistent-net.rules before cloning That should let the eth0 with a new MAC address actually use the ifcfg-eth0 on initial boot.

remove the HWADDR AND UUID lines from /etc/sysconfig/network-scripts/ifcfg-eth0