cobbler default文件说明
1、cobbler default文件目录所在目录
/var/lib/tftpboot/pxelinux.cfg
2、default文件(fuel cobbler default文件内容)
[root@fuel pxelinux.cfg]# cat default
default menu
prompt 0
menu title boot menu
timeout 50 #超时时间是50秒
totaltimeout 0
ontimeout bootstrap #超时时选择的启动方式,在此处是安装第一个系统bootstrap
label local
menu label (local)
menu default
localboot -1
label bootstrap
kernel /p_w_picpaths/bootstrap/linux
menu label bootstrap
append initrd=/p_w_picpaths/bootstrap/initramfs.img ksdevice=bootif lang= biosdevname=0 url=http://10.49.100.1:8000/api locale=en_us text kssendmac priority=critical ks=http://10.49.100.1/cblr/svc/op/ks/profile/bootstrap
ipappend 2
label centos-x86_64
kernel /p_w_picpaths/centos-x86_64/vmlinuz
menu label centos-x86_64
append initrd=/p_w_picpaths/centos-x86_64/initrd.img ksdevice=bootif lang= sshd=1 biosdevname=0 locale=en_us text kssendmac priority=critical ks=http://10.49.100.1/cblr/svc/op/ks/profile/centos-x86_64
label ubuntu_1204_x86_64
kernel /p_w_picpaths/ubuntu_1204_x86_64/linux
menu label ubuntu_1204_x86_64
append initrd=/p_w_picpaths/ubuntu_1204_x86_64/initrd.gz locale= locale=en_us text netcfg/choose_interface=eth0 priority=critical auto url=http://10.49.100.1/cblr/svc/op/ks/profile/ubuntu_1204_x86_64 hostname=ubuntu_1204_x86_64 domain=local.lan suite=precise
menu end
3、default文件
[root@localhost pxelinux.cfg]# cat default
menu title cobbler | http://www.cobblerd.org/
timeout 50 #超时时间是50秒
totaltimeout 6000
ontimeout local #超时后选择第一个标签local本地,本地默认是从硬盘启动
label centos-6.4-x86_64
kernel /p_w_picpaths/centos-6.4-x86_64/vmlinuz
menu label centos-6.4-x86_64
append initrd=/p_w_picpaths/centos-6.4-x86_64/initrd.img ksdevice=bootif lang= kssendmac text ks=http://10.240.240.210/cblr/svc/op/ks/profile/centos-6.4-x86_64
label redhat-6.3-x86_64
kernel /p_w_picpaths/redhat-6.3-x86_64/vmlinuz
menu label redhat-6.3-x86_64
append initrd=/p_w_picpaths/redhat-6.3-x86_64/initrd.img ksdevice=bootif lang= kssendmac text ks=http://10.240.240.210/cblr/svc/op/ks/profile/redhat-6.3-x86_64