mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
1. If a VM by the same name exists on a different cluster in the VMware DC, unregister the existing VM and continue with the VM start. 2. If VM start succeeds, delete VM files associated with the unregistered VM. 3. If VM start fails, re-register the unregistered VM. (cherry picked from commit 974b0180dd67f19fea921092105161f849891ac5) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>