[vbox-dev] using ISO image file

Nikolay Igotti Nikolay.Igotti at Sun.COM
Mon Aug 17 04:13:55 PDT 2009


    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
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>   





More information about the vbox-dev mailing list