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