First, the simulation environment:
VMware virtual Machines
CentOS Source Operating System
Cloning the CentOS operating system
Second, the problem: After the VM cloning the operating system, the network card does not function
Third, the solution / steps:
#vim/etc/udev/rules.d/70-persistent-net.rules
Delete the original eth0 command line and change the name of the new eth1 command line to Eth0
#shutdown – R Now
That is, after the operating system restarts, the network card runs normally.
Description: Why cloning? I think there are several aspects of the meaning:
1. Equivalent to good backup system, the source system is out of the question, the clone system can be put into use immediately;
2. When you need to use the system to do simulation experiments, do not need to start from scratch, to use, high efficiency;
3. The experimental environment is quite complex, it is not possible to implement all the experiments in a system environment, so it is necessary to clone multiple system environments to avoid the experimental environment conflict and experiment pertinence.
This article is from the "sky9890" blog, make sure to keep this source http://sky9896.blog.51cto.com/2330653/1880587
The network card cannot be started after the VMware virtual machine clones the CentOS operating system