一:在CentOS.ks的定制脚本中,删除syslinux组件:出错提示:

/usr/lib/python2.6/site-packages/imgcreate/errors.py:45: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6  return unicode(self.message)

Error creating Live CD : syslinux not installed : no suitable *menu.c32 found

xamining /var/tmp/yum-root-xd1ddq/epel-release-6-8.noarch.rpm: epel-release-6-8.noarch

/var/tmp/yum-root-xd1ddq/epel-release-6-8.noarch.rpm: does not update installed package.

二:在CentOS.ks的定制脚本中,使用selinux --disable,错误提示:

Error creating Live CD : Unable to disable SELinux because the installed package set did not include the file /usr/sbin/lokkit

解决方案:

1. "selinux --disabled" in kickstart

2. 确保 @admin-tools or system-config-firewall 在安装包之列

总结:selinux --disabled requires system-config-firewall-base in ks