开发者

Controlling VirtualBox

Documentat开发者_如何学JAVAion for pyVB is given in http://enomalism.com/api/pyvb/

we are trying to make a commandline interface to virtualbox using pyvb module in python.

>>> import pyvb
>>> n=pyvb.vm.vbVM()
>>> n.setUUID("64e1b2e5-739e-45a6-b8d7-3ab7519c5215}")
>>> m=pyvb.vb.VB()
>>> m.startVM(n)

this is how we tried doing it, but vm doesn't get started.


Why reinvent the wheel; VirtualBox already comes with a command line interface?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜