打造livecd的注意事项

一:在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





     本文转自fengyuzaitu 51CTO博客,原文链接:http://blog.51cto.com/fengyuzaitu/1557957,如需转载请自行联系原作者
原文地址:https://www.cnblogs.com/twodog/p/12138906.html