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 office: (215) 386-0100 x1144 cell: (267) 784-9166 |