I can see that I can start and stop a vm with virtualBox using VBoxManage. I m not sure this is the tool I need.
I m trying to write a script that
- Will boot the VM (different flavours of Windows)
- Run a custom piece of software (in my case an installer) and record the results of this
- power of the VM
I am aware of the existence of the web services and the API, however I couldnt find much online about point 2.
I would really appreciate some direction on this. ie should I use vboxmanage to start and stop the VMs and then run the installers in some other way? alternatively should I use the COM API, if so, any ideas of some samples on how to do step 2?
Not familiar with VirtualBox at all. But I can write code.
UPDATE: Should I be looking at Vagrant or Puppet? As you can probably guess this is a test suite for installers, and it would be great to be able to re use it.