MAC address conflict

You might encounter MAC address conflict while installing cloud-init.


Sometimes when cloud-init fails to clean the cache data, or when you add a new network, you might see the MAC address conflict issue.


Remove the MAC address information. For more information about how to remove the MAC address information and open required port, see the No hard-coded MAC address information information in the OpenStack Virtual Machine Image Guide.

  • The /etc/sysconfig/network-scripts file path that is mentioned in the 'No hard-coded MAC address information' section for the HWADDR applies for Red Hat® Enterprise Linux® only. For SUSE Linux, the HWADDR path is /etc/sysconfig/network. For example, for ifcfg-eth0 adapter, on SUSE Linux remove the HWADDR line from /etc/sysconfig/network/ifcfg-eth0.
  • Files 70-persistent-net.rules and 75-persistent-net-generator.rules mentioned in the No hard-coded MAC address information section are required to add or remove network interfaces on the virtual machines after deployment. Ensure that you save these files so that you can restore them after deployment is complete.