Created
October 12, 2015 11:03
-
-
Save algotrader-dotcom/94085d5835f784a60160 to your computer and use it in GitHub Desktop.
Fix eth0 interface when cloning Linux VM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
So here’s how we fix it: | |
Remove the kernel’s networking interface rules file so that it can be regenerated | |
# rm /etc/udev/rules.d/70-persistent-net.rules | |
# reboot | |
Edit the network card "name" from eth1 to eth0 in 70-persistent-net.rules | |
#vi /etc/udev/rules.d/70-persistent-net.rules | |
#start_udev | |
UPDATE your interface configuration file | |
# vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
Remove the MACADDR entry | |
Remove the UUID entry | |
Save and exit the file | |
Restart the networking service | |
# service network restart | |
- See more at: http://www.naturalnetworks.com/kb/article.php?id=129#sthash.0XTyTLju.dpuf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment