1. Select the virtual machine and right-click clone to clone according to the snapshot or current state, and clone into a full version or a link.
2. Configure the network card:
After starting the virtual machine, because the virtual machine is the same as the original system mac and IP, the original eth0 is automatically shielded, and a new network card eth1 is automatically generated:
Without -a, you will not be able to view eth0. Make the following changes:
Modify /etc/sysconfig/network-script/ifcfg-eth0 directly Remove UUID HWADDR Configure static address Then: rm -rf /etc/udev/rules.d/70-persistent-net.rules or Open the file, delete eth0, and change eth1 to eth0, so that eth0 has the physical address of eth1. Note: Deleting this file will automatically regenerate it. |
as follows:
After restarting, enter the system, you can view eth0