That depends on the setup within the VM and the VM itself.
Does VM2 have the same IP host name and IP address as VM1?
If so, you can simply start up VM2 and be done.
If VM2 has the same IP host name but a different IP address, then the following MAY work:
Change the DNS setup such that the host name is resolved to the new IP address.
In addition make sure that the so-called "Reverse DNS Lookup" works fine here as well; this means: if you invoke "nslookup" on the IP address, you get the same IP host name displayed that's shown by the "hostname" command.
If the IP address and the host name change (very likely in your case), then you should use the infasetup.sh command (if on Linux/Unix, on Windows it's infasetup.bat) to change the IP host name and address within the domain database. The respective command is "infasetup.sh UpdateGatewayNode" (resp. "infasetup.bat UpdateGatewayNode").
There are a few posts about this functionality, there you can find examples of how to proceed here.