/etc/udev/rules.d/70-persistent-net.rules
/etc/sysconfig/network-scripts/ifcfg-eth0
, and change the contents to the following:
DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=dhcp
DNS1=8.8.8.8
NAME="System eth0"
cloud-init
package from EPEL. This software will take care of adjusting your network adapter configuration whenever a snapshot is restored./etc/udev/rules.d/70-persistent-net.rules
/etc/network/interfaces
and update any IP addresses to match the current server.cloud-init
package. This software will take care of adjusting your network adapter configuration whenever a snapshot is restored.