Frederic,

Please post more related to VBox questions on this list. Your problem is related to fact that you have undefined variable, and has nothing to do with Python bindings to VBox.

 Nikolay

Frédéric SOSSON wrote:
Hello,

I need to use ISO image file to boot my virtual machine.

I used that code:

DVD = mach.DVDDrive
myOpenedDVDImage = vb.openDVDImage(myWinPeIso, myDVDImageUUID)
res = DVD.mountImage(myOpenedDVDImage)

but it returns:

Traceback (most recent call last):
  File "./createMachine.py", line 79, in createVirtualMachine
    myOpenedDVDImage = vb.openDVDImage(myWinPeIso, myDVDImageUUID)
NameError: global name 'myDVDImageUUID' is not defined


what did I forget ?


regards,

Frederic

_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev


_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev

Reply via email to