2011年7月12日 星期二

Karesansui (KVM, XEN web interface management tools) installation on Scientific Linux 5

To edit the install python file
[root@vt-121 ~]# vim Karesansui/installer/install.py



   # distribution check
    if ret is True:
        from installer.utils import get_distrubution
        type,version = get_distrubution()

        supported_os = False
        for _d,_v in SUPPORTED_DISTROS:
            #if type == "%s-release" % _d and version[0:len(_v)] == _v:
            #if type == "%s-release" % _d and re.compile(_v).search(version):
            supported_os = True
                #break
        #if supported_os is False:
            #print >>sys.stderr, _("ERROR: Your distribution is not supported by Karesansui.")
            #ret = False


 
創用 CC 授權條款