vCenter server has no network connection after copying

After copying my vCenter server using ovftool, I watched it boot up and could see it said there was no configuration for eth1. When the MAC address changes, it will not update the config file automatically. Here's what to do: First of all go into the vSphere Client and connect to the host which is running the vCenter server. Go to the console, give it time to boot up until you get to the prompt. Enter your root username credentials. Type the following (the second one is all one line):

cd /etc/udev/rules.d/cp etc/udev/rules.d/70-persistent-net.rules etc/udev/rules.d/70-persistent-net.rules.originalvi 70-persistent-net.rules

vi is very old school, so you'll need to press i to get into insert mode, go to the line that says:

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?", ATTR{address}=="00:50:56:aa:52:39", ATTR{type}=="1", KERNEL=="eth", NAME="eth0"

Comment it out with a # (shift and 3 for our UK keyboards...) and edit the line below so that the NAME changes from eth1 to eth0. Hit escape a couple of times, then type :wq and enter to save. Reboot the machine and all will be fixed.

Hope this helps!