コード例 #1
0
            'postgresql-python', 'postgresql-server', 'postgresql-tcl',
            'postgresql-test', 'python-devel', 'rcs', 'rpm-build', 'rpm-devel',
            'samba', 'samba-client', 'samba-common', 'samba-swat', 'screen',
            'spamassassin', 'sqlite-devel', 'squid', 'startup-notification',
            'switchdesk', 'tcl', 'tcl-devel', 'telnet-server', 'tk',
            'ttmkfdir', 'vim-enhanced', 'vsftpd', 'webalizer', 'xinetd',
            'xorg-x11-filesystem', 'xorg-x11-font-utils',
            'xorg-x11-fonts-75dpi', 'xorg-x11-fonts-ISO8859-1-75dpi',
            'xorg-x11-fonts-base', 'xorg-x11-proto-devel', 'xorg-x11-xauth',
            'xorg-x11-xfs', 'xterm', 'zlib-devel'
        ]


class CentOS_5_3(CentOS_5_2):
    CentOS_VER = '5.3'


class CentOS_5_4(CentOS_5_3):
    CentOS_VER = '5.4'


class CentOS_5_5(CentOS_5_4):
    CentOS_VER = '5.5'


distro_util.register(CentOS_5_0)
distro_util.register(CentOS_5_2)
distro_util.register(CentOS_5_3)
distro_util.register(CentOS_5_4)
distro_util.register(CentOS_5_5)
コード例 #2
0
        self.disable_pam_limits()
        self.fix_vncserver(name)

        return xid

    def fixup_crontab(self):

        Fedora_Core.fixup_crontab(self)

        # disable weekly makewhatis
        os.chmod(
            os.path.join(self.vpsroot, 'etc/cron.weekly/00-makewhatis.cron'),
            0644)


distro_util.register(Fedora_Core_3)


class Fedora_Core_4(Fedora_Core_3):

    FC_VER = 4

    class _Bundle_base(Fedora_Core_3._Bundle_base):

        name = 'base'
        desc = 'Fedora Core 4 Base'

        packages = [
            'SysVinit', 'acl', 'anacron', 'apr', 'apr-util', 'aspell',
            'aspell-en', 'at', 'attr', 'audit', 'audit-libs', 'authconfig',
            'basesystem', 'bash', 'bc', 'beecrypt',