default
prompt 1
timeout 600
display pxelinux.cfg/list
F1 boot.msg
F2 options.msg
F3 general.msg
F4 param.msg
F5 rescue.msg
label 1
kernel ./vmlinuz-dir/vmlinuz-5.3-i386
append ks=nfs:192.168.0.249:/var/ftp/ks/rhel-5.3-auto.cfg initrd=./initrd/initrd-5.3-i386.img
label 2
kernel ./vmlinuz-dir/vmlinuz-5.3-i386
append ks=nfs:192.168.0.249:/var/ftp/ks/rhel-5.3-manual.cfg initd=./initrd/initrd-5.3-i386.img
label 3
kernel ./vmlinuz-dir/vmlinuz-fedora-11-x86_64
append ./initrd/initrd-fedora-11-x86_64.img
label 4
kernel ./vmlinuz-dir/vmlinuz-fedora-11-x86_64
append ./initrd/initrd-fedora-11-x86_64.img
Id Name Install type Install location
1 rhel-5.3-32 auto install /var/ftp/linuxos/i386/rhel5.3/
2 rhel-5.3-32 manual install /var/ftp/linuxos/i386/rhel5.3/
3 fedora-11-64 auto install /var/ftp/linuxos/x86_64/fedora11/
4 fedora-11-64 manual install /var/ftp/linuxos/x86_64/fedora11/
[root@ks-serv ks]# cat rhel-5.3-auto.cfg
#platform=x86, AMD64, »ò Intel EM64T
# System authorization information
auth --useshadow --enablemd5
# System bootloader configuration
key --skip
bootloader --location=mbr
# Partition clearing information
clearpart --all --initlabel
# Use graphical install
graphical
#text
# Firewall configuration
firewall --disabled
# Run the Setup Agent on first boot
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# Installation logging level
logging --level=info
# Use NFS installation media
nfs --server=192.168.0.249 --dir=/var/ftp/linuxos/i386/rhel5.3/
# Network information
network --bootproto=dhcp --device=eth0 --onboot=on
#network --bootproto=dhcp --device=eth1 --onboot=on
#Root password
rootpw --iscrypted $1$t7h0t0Kl$jKXN56yAhrDUn84XbWFZz.
selinux --disabled
# System timezone
timezone Asia/Shanghai
# Install OS instead of upgrade
install
# X Window System configuration information
xconfig --defaultdesktop=GNOME --depth=24 --resolution=1024x768 --startxonboot
# Disk partitioning information
#part / --bytes-per-inode=4096 --fstype="ext3" --size=40000
#part /boot --bytes-per-inode=4096 --fstype="ext3" --size=100
#part swap --bytes-per-inode=4096 --fstype="swap" --size=2000
@development-libs
@gnome-software-development
@x-software-development
@chinese-support
@development-tools
@gnome-desktop
@base-x
@kde-desktop
@legacy-software-development
@kde-software-development
@legacy-software-support
@java-development
@editors
@ruby