views:

406

answers:

1

I have made a command-line interface for virtualbox such that the virtualbox can be controlled from a remote machine. now I am trying to implement the commmand-line interface using python virtualbox api. For that I have downloaded the pyvb package (python api documentation shows functions that can be used for implementing this under pyvb package). but when I give pyvb.startVM(self,"name of vm",type='gui'), it shows an error:

AttributeError: 'module' object has no attribute 'startVM'
+2  A: 

startVM is in pyvb.vb.VB class. Also, it's not 'name of vm', as docs explain startVM should be called with pyvb.vm.vbVM as a first parameter and not a string.

SilentGhost