[et-mgmt-tools] looks like a bug in LiveCdInstaller.py

Boris Altshul baltshul at yahoo.com
Wed Aug 20 23:23:46 UTC 2008


I was trying to use some of my virsh based scripts on Fedora 9 and ran into problems. After some debugging, it looks like that 
there is an issue with passing the parameter "os_type" to the base class from LiveCdInstaller constructor. Take a look.
In LiveCdInstaller.py
-----------------------

class LiveCDInstaller(Guest.Installer):
    def __init__(self, type = "xen", location = None, os_type = None):
        Guest.Installer.__init__(self, type, location, os_type = None)
--------------------------------------------
Should be

class LiveCDInstaller(Guest.Installer):
    def __init__(self, type = "xen", location = None, os_type = None):
                                                            -------V    
        Guest.Installer.__init__(self, type, location, os_type=os_type)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20080820/6a2ef972/attachment.htm>


More information about the et-mgmt-tools mailing list