Re: Smallest Possible Kickstart configs for RHEL3 and/or RHEL4?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Elizabeth.Brosch@xxxxxxxxxxx wrote:
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


Hi -

I used something similar.  Now, I've gone one step further.

I know I whined and complained a lot about it, but i've finally got the process of completely re-mastering the install, down perfectly.

I go as far as editing comps.xml, and adding/removing packages from @base and @core, so I do not have to speficy any additional packages or package groups.

I'll be publishing all of this shortly. I'll go ahead and let you all know when it's done.

Thanks!
-dant


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux