ISSUE on centos 6.xx/7.xx
Main issue when you clone a VM under Vmware Workstation or ESXI is network being lost here.
So the problem lies in Vmware adding another network card with a different UID/MAC that will replace the old eth0 and the kernel would detect it as eth1 while your old setup would keep the config in:
/etc/sysconfig/network-scripts/ifcfg-eth0
You could rename it to ifcfg-eth1 or fix the network detection in :
/etc/udev/rules.d/70-persistent-net.rules
Edit the file and remove the line with eth0 then replace in the second network card eth1 with etho0. Save and reboot server, you should get network back.
Don't forget to fire any mac/uid you had in "ifcfg-eth0" config
This would apply to Virtual box too.
M B
Main issue when you clone a VM under Vmware Workstation or ESXI is network being lost here.
So the problem lies in Vmware adding another network card with a different UID/MAC that will replace the old eth0 and the kernel would detect it as eth1 while your old setup would keep the config in:
/etc/sysconfig/network-scripts/ifcfg-eth0
You could rename it to ifcfg-eth1 or fix the network detection in :
/etc/udev/rules.d/70-persistent-net.rules
Edit the file and remove the line with eth0 then replace in the second network card eth1 with etho0. Save and reboot server, you should get network back.
Don't forget to fire any mac/uid you had in "ifcfg-eth0" config
This would apply to Virtual box too.
M B
No support using PM (Auto adding to IGNORE list!), use the forum.
How to ask
200$ free to start your VPS 60 days credit
How to ask
200$ free to start your VPS 60 days credit