Friday, April 15, 2011

Adding kickstart file in the remote boot screen itself

Edit the following file:


#vim /tftpboot/pxelinux.cfg/default

Add the follwoing line in the file:

label ks
kernel vmlinuz
append initrd=initrd.img ks=nfs:192.168.0.254:/var/ftp/pub/ks.cfg

Adding another OS in this file (example: rhel6):

label 6
kernel rhel6/vmlinuz
append initrd=rhel6/initrd.img ks=nfs:192.168.0.254:/var/ftp/pub/rhel6/ks.cfg

0 Comments: