Noway11

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

常用目录:

/var/www/cobbler/ks_mirror/                cobbler distro文件目录
/var/lib/tftpboot/pxelinux.cfg/default     cobbler ks文件下载路径
/var/lib/cobbler/kickstarts                     ks文件目录(默认ks文件为sample_end.ks)
/etc/cobbler/pxe/pxedefault.template     展示页面内容

Kickstart Metadata http://192.168.0.1/cblr/links/CentOS-6.6-x86_64/
http://192.168.0.1/cblr/svc/op/ks/profile/centos-6.5-x86_64

 

常用命令:
cobbler report             查看cobbler报告
cobbler list              查看cobbler-list 
cobbler profile         查看配置文件信息
cobbler distro             查看cobbler导入系统发行版系统信息
cobbler system         查看system信息
cobbler repo             查看repo信息

cobbler profile remove --name=Centos-7.0-x86_64
cobbler profile add --distro=CentOS-7.0-x86_64 --name=CentOS-7.0-x86_64 --kickstart=/var/lib/cobbler/kickstarts/sample_end.ks
cobbler profile edit --distro=CentOS-7.0-x86_64 --name=CentOS-7.0-x86_64 --kickstart=/var/lib/cobbler/kickstarts/sample_end.ks
cobbler profile edit --name=Centos-7.0-x86_64 --kopts='net.ifnames=0 biosdevname=0'

posted on 2017-12-29 16:00  Noway11  阅读(1765)  评论(0编辑  收藏  举报