[vbox-dev] using ISO image file

Frédéric SOSSON fsosson at gmail.com
Mon Aug 17 02:29:32 PDT 2009


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




More information about the vbox-dev mailing list