'xinetd files are written when manage_tftp is set in
/var/lib/cobbler/settings.'

def write_tftpd_files(self):

    template_file = '/etc/cobbler/tftpd.template'
    try:
        f = open(template_file, 'r')
    except:
        raise CX((_('error    reading    template    %s') % template_file))
    template_data = ''
    template_data = f.read()
    f.close()
    metadata = {'user': 'root', 'binary': '/usr/sbin/in.tftpd', 'args': ('%s' % self.bootloc)}
    self.logger.info(('generating    %s' % self.settings_file))
    self.templar.render(template_data, metadata, self.settings_file, None)
