Environment:
Oracle VM VirtualBox version number: 5.0.20
Centos-6.7-x86_64-minimal.iso
1. Replicating virtual machines
Right-click the hibernation template virtual machine and select Copy
--fill in the new virtual computer name, tick "reinitialize all network card MAC address (R)"
--Default "full copy"
--Default "current Virtual PC status (M)"
2. Start the new virtual machine in hibernation and turn off the new virtual machine;
This step is to let/etc/init.d/network restart restart can produce network card MAC address conflict error, test reboot does not produce MAC conflict, so choose force quit.
[Email protected] ~]# shutdown-h now
Start the virtual machine, start the network
[Email protected] ~]#/etc/init.d/network restartshutting down loopback insterface: [ OK ]bringing up Loopback insterface: [ OK ]bringing up interface eth0: Device eth0 does not seem to being present,delaying in Itialization. [FAILED]
3. Solution
A. Deleting/etc/udev/rules.d/70-persistent-net.rules
B. Run Start_udev regenerate/etc/udev/rules.d/70-persistent-net.rules file
C. Modify eth1 in/etc/udev/rules.d/70-persistent-net.rules to Eth0
B. Comment/etc/sysconfig/network-scripts/ifcfg-eth0 file hwaddr information
E. Restarting the Network service
Oracle VM VirtualBox replicate virtual machines