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

       ipappend 2


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

       ipappend 2




MENU end


3、default文件

[root@localhost pxelinux.cfg]# cat default

DEFAULT menu

PROMPT 0

MENU TITLE Cobbler | http://www.cobblerd.org/

TIMEOUT 50           #超时时间是50秒

TOTALTIMEOUT 6000

ONTIMEOUT local     #超时后选择第一个标签local本地,本地默认是从硬盘启动


LABEL local

       MENU LABEL (local)

       MENU DEFAULT

       LOCALBOOT -1


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

       ipappend 2


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

       ipappend 2




MENU end