See also: RedhatLinux, UsingRpm

Documentation

Official Redhat 9

http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/ch-kickstart2.html

Official Redhat 7.3

http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/ch-kickstart2.html

Redhat Kickstart Howto (old)

http://www.tldp.org/HOWTO/KickStart-HOWTO.html

comps.xml

Information on how the comps.xml file (new in RedhatLinux 8) works. In order to play with this you need to make sure you have the comps, comps-extras and anaconda-runtime.

http://people.redhat.com/katzj/anaconda/comps.html (alternate URL)

Sample Redhat 9 ks.cfg

lang en_US
langsupport --default en_NZ en_US
keyboard us
mouse generic3ps/2

timezone Pacific/Auckland
rootpw --iscrypted $1$7ssshhsecretUQf.

# reboot after installation
reboot
# use text gui
text
# step through config
# autostep
# do a fresh install (not an upgrade)
install

# point to the directory which contains the RedHat directory off the CDROM
#nfs --server kickstart.spack.org --dir /exports/rh9
url --url http://kickstart.spack.org/rh9/

bootloader --location=mbr
clearpart --linux
part /boot --fstype ext3 --size 100 --asprimary
part / --fstype ext3 --size 1000 --grow --asprimary
part  swap --size 2048 --asprimary

auth --enableldap --enableldapauth --ldapserver=ldap1,ldap2 --ldapbasedn=dc=spack,dc=org --enablecache

#network --bootproto=static --ip=192.168.1.100 --netmask=255.255.255.0 \
#  --gateway=192.168.1.1 --nameserver=192.168.1.2 --device=eth1
network --device eth0 --bootproto dhcp
firewall --disabled

#xconfig  --defaultdesktop=GNOME  --startxonboot
skipx

%packages --resolvedeps
# Full list of symbolic package names
@ X Window System
@ GNOME Desktop Environment
@ KDE Desktop Environment
@ Editors
@ Engineering and Scientific
@ Graphical Internet
@ Text-based Internet
@ Office/Productivity
@ Sound and Video
@ Graphics
@ Games and Entertainment
@ Authoring and Publishing
@ Server Configuration Tools
@ Web Server
@ Mail Server
@ Windows File Server
@ DNS Name Server
@ FTP Server
@ SQL Database Server
@ News Server
@ Development Tools
@ Kernel Development
@ X Software Development
@ GNOME Software Development
@ KDE Software Development
@ Administration Tools
@ System Tools
@ Printing Support
kernel-bigmem
perl
rsync
telnet-server
rsh-server
pdksh
hesiod
openldap-devel
redhat-config-kickstart
-autofs

#%pre
# useful for dynamic partitioning?

#%post --nochroot
%post --nochroot --interpreter=/usr/bin/perl
#cp -r /mnt/source/XSetup /mnt/sysimage/tmp/

%post
rpm -ivh http://kickstart.spack.org/rh9/Local/RPMS/autofs-4.1.0-2.i386.rpm


CategorySoftware CategoryUnix

RedhatKickstart (last edited 2004-02-16 20:45:50 by AdamShand)