Here is my kickstart from my Fedora 9 profile:
# kickstart template for Fedora 8 and later.
# (includes %end blocks)
# do not use with earlier distros
#platform=x86, AMD64, or Intel EM64T
# System authorization information
auth --useshadow --enablemd5
# System bootloader configuration
bootloader --location=mbr
# Partition clearing information
clearpart --all --initlabel
# Use text mode install
text
# Firewall configuration
firewall --enabled
# Run the Setup Agent on first boot
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# Use network installation
url --url=http://192.168.100.18/cblr/links/Fedora9-i386
# If any cobbler repo definitions were referenced in the kickstart
profile, include them here.
repo --name=source-1
--baseurl=http://192.168.100.18/cobbler/ks_mirror/Fedora9/os
# Network information
network --bootproto=dhcp --device=eth1 --onboot=on
# Reboot after installation
reboot
# SELinux configuration
selinux --disabled
# Do not configure the X Window System
skipx
# System timezone
timezone America/New_York
# Install OS instead of upgrade
install
# Clear the Master Boot Record
zerombr
# Magically figure out how to partition this thing
%include /tmp/partinfo
%pre
# Determine how many drives we have
set $(list-harddrives)
let numd=$#/2
d1=$1
d2=$3
cat << EOF > /tmp/partinfo
part / --fstype ext3 --size=1024 --grow --ondisk=$d1 --asprimary
part swap --size=1024 --ondisk=$d1 --asprimary
EOF
wget
"http://192.168.100.18/cblr/svc/op/trig/mode/pre/profile/Fedora9-i386"
-O /dev/null
%end
%packages
%end
%post
wget "http://192.168.100.18/cblr/svc/op/ks/profile/Fedora9-i386" -O
/root/cobbler.ks
wget
"http://192.168.100.18/cblr/svc/op/trig/mode/post/profile/Fedora9-i386"
-O /dev/null
%end
_______________________________________________
Kickstart-list mailing list
Kickstart-list redhat com
https://www.redhat.com/mailman/listinfo/kickstart-list