How can I put the kickstart file for netinstall GNU/Linux ? |
0. Make sure you already put the netinstall in your DRBL server. If not, run "drbl-netinstall -i all" followed by "generate-pxe-menu". Then use dcs to switch the netinstall.
1. Put your kickstart file in your http or ftp server, in the example, we put ks.cfg in apache server 192.168.120.254.
2. Take CentOS 5.1 as an example, edit /tftpboot/nbi_img/pxelinux.cfg/default, put "ks=http://192.168.120.254/ks.cfg" like this:
label netinstall-CentOS-5.1-i386
# MENU DEFAULT
# MENU HIDE
MENU LABEL CentOS 5.1 i386 installation via network
# MENU PASSWD
kernel vmlinuz-netinstall-CentOS-5.1-i386
append initrd=initrd-netinstall-CentOS-5.1-i386.img ramdisk_size=65535 ks=http://192.168.120.254/ks.cfg
|
|