Repairing cloned virtual machine files
# Vi/etc/udev/rules.d/70-persistent-net.rules
# PCI Device 0x8086:0x100f (e1000) subsystem== "NET", action== "Add", drivers== "? *", attr{address}== "00:0c:29:f6:8e:5f", attr{type}== "1", kernel== "eth*", Name= "eth0" # PCI device 0x8086:0x100f (e1000) subsystem== "NET", action== "add", DRIVERS = = "? *", attr{address}== "00:50:56:31:fc:9e", attr{type}== "1", kernel== "eth*", name= "eth1"
1. The cloned VM will simply delete the line associated with name= "eth0" and change the downstream eth1 to Eth0, and record the value of attr{address} ;
2. Record this clone MAC address and edit # Vi/etc/sysconfig/network-scripts/ifcfg-eth0 to modify HWADDR and ipaddr ;
3. Set the physical address of the network card in the virtual machine to the MAC address recorded above, as
4. Restart the system;
VMware Cloning virtual machine post-network configuration