Smallest Possible Kickstart configs for RHEL3 and/or RHEL4?
Elizabeth.Brosch at thomson.com
Elizabeth.Brosch at thomson.com
Fri Feb 3 20:01:29 UTC 2006
Here is what I use:
# Kickstart file for Red Hat Enterprise Linux AS 4
#
# Set some basic configuration
lang en_US
langsupport en_US
keyboard us
mouse genericps/2 --emulthree
# System timezone
timezone America/New_York
# where to find the distribution ISOs
nfs --server xx.xxx.xx.xx --dir /etc/kickstart/osdist/rhel4
# Set root password
rootpw --iscrypted $$$$$$/
# bootloader
bootloader --location=mbr --append="rhgb quiet"
# do an install
install
# Partition configuration
clearpart --all --initlabel
part /boot --size 100 --fstype ext3 --asprimary
part swap --size 16384 --fstype swap --asprimary
part / --size 3072 --grow --fstype=ext3 --asprimary
# For initial installation get IP addr by dhcp. Post install converts
to static
network --bootproto dhcp --device eth0 --hostname xxxxxx
# Enable shadowed MD5 passwords
auth --useshadow --enablemd5
# Disable firewall
firewall --disabled
# enable X at boot time
xconfig --startxonboot
# Install standard packages
%packages
@ admin-tools
@ editors
@ emacs
@ system-tools
@ dialup
@ compat-arch-support
@ base-x
@ server-cfg
@ development-tools
# a couple of individual RPMs to install
grub
e2fsprogs
kernel-smp
kernel-smp-devel
#
# PRE
#
# post-installation script starts
%post
mkdir -p /mnt/tmp
mount xx.xxx.xx.xx:/etc/kickstart /mnt/tmp
cd /mnt/tmp
. ./post-install
# unmount the disk
umount /mnt/tmp
# post-installation script ends
Liz Brosch
TSH System Services
Philadelphia, PA 19104
office: (215) 386-0100 x1144
cell: (267) 784-9166
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20060203/f91962b3/attachment.htm>
More information about the Kickstart-list
mailing list