What I'm trying to do is to create virtual machines using C program with VIX API. First I create a VM as template. Then I copy all files of the first VM and do some neccessary modificaitons on the copy. After that, I use VIX API to regiester the new VM. From the web interface, I can see registration is successful. At last, I try to use VIX API to power on the new VM. The power on process hangs up in the middle way, and from the web interface, I can see it appears a "?" mark on the new VM, I click the "?" mark, and get a question to ask if I copied or moved the VM file since it detects uuid conflit. After I choose "I copied it", the uuid of the new VM is updated and the new VM get successfully powered on.
My question is that if it's possible to let my C program automatically answer the question via VIX API or some other mechanism? I want to automatically create new VMs based on the template VM.
Thanks in advance.