Example #1
0
File: main.py Project: gonicus/fts
    def __init__(self):
        super(FAIBoot, self).__init__()

        self.ldap = LDAPHandler.get_instance()
        self.nfs_root= self.config.get('fai.nfs-root', '/srv/nfsroot')
        self.fai_flags= self.config.get('fai.flags', 'verbose,sshd,syslogd,createvt,reboot')
        self.union= self.config.get('fai.union', 'unionfs')
        self.default_init= self.config.get('fai.default-init', 'fallback')
        self.tftp_root = os.path.dirname(self.config.get('tftp.path', '/tftpboot/pxelinux.cfg'))
Example #2
0
    def __init__(self):
        super(LTSPBoot, self).__init__()

        self.ldap = LDAPHandler.get_instance()
        self.tftp_root = os.path.dirname(self.config.get('tftp.path', '/tftpboot/pxelinux.cfg'))
Example #3
0
    def __init__(self):
        super(LTSPBoot, self).__init__()

        self.ldap = LDAPHandler.get_instance()
        self.tftp_root = os.path.dirname(
            self.config.get('tftp.path', '/tftpboot/pxelinux.cfg'))