[CentOS] Kickstart

Tue Apr 12 18:48:14 UTC 2005
Mickael Maddison <mike at kamloopsbc.com>

Hello Gerald,

Mine usually look something like this:
# kickstart.cfg
install
url --url http://192.168.0.99/CentOS
lang en_US.UTF-8
langsupport --default en_US.UTF-8 en_US.UTF-8
keyboard us
#mouse generic3usb --device input/mice
mouse none
skipx
network --device=eth0 --bootproto=static --ip=192.168.1.182 --hostname foo.com --netmask=255.255.255.0 --gateway=192.168.0.1 --nameserver=192.168.1.2
rootpw --iscrypted $1$24SzvzTC$0hasdfhw923n3tST235$.
firewall --medium --port smtp:tcp --port http:tcp --port ftp:tcp --port ssh:tcp --port 110:tcp
authconfig --enableshadow --enablemd5
timezone America/Vancouver
zerombr yes
bootloader --location=mbr

# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --all --initlabel
part /boot --fstype ext2 --size=250 --ondisk=hda --asprimary
part /var --fstype ext2 --size=20000 --ondisk=hdc --asprimary
part /usr --fstype ext3 --size=10000 --ondisk=hda
part / --fstype ext3 --size=20000 --ondisk=hda
part /tmp --fstype ext2 --size=1024 --ondisk=hda
part /downloads --fstype ext3 --size=11112
part /d3 --fstype ext2 --size=10000 --grow --ondisk=hda
part /d4 --fstype ext2 --size=10000 --grow --ondisk=hdc
part /bk4 --fstype ext3 --size=10000 --grow --ondisk=hda
part /bk3 --fstype ext3 --size=10000 --grow --ondisk=hdc
part swap --size=1024 --ondisk=hdc
part swap --size=1024 --ondisk=hda

#SATA DRIVES
part /d1 --fstype ext2 --size=25000 --grow --ondisk=sda --asprimary
part /d2 --fstype ext2 --size=25000 --grow --ondisk=sdb --asprimary
part /bk2 --fstype ext3 --size=25000 --grow --ondisk=sda
part /bk1 --fstype ext3 --size=25000 --grow --ondisk=sdb

%packages
@ compat-arch-support
-psgml
-kernel-pcmcia-cs
-emacs-leim
kernel-smp
-Canna-libs
kernel
-Canna
grub
-nedit
-emacs
-Wnn6-SDK-devel
-emacs-el
-Wnn6-SDK
-FreeWnn-common
-FreeWnn
-emacspeak
-gpm
-portmap
-nfs-utils
-cups
-xinetd
gcc-c++
gcc-java
gcc-g77
gcc-objc
libjpeg
libjpeg-devel
gd-devel
gd
libpng
libpng-devel
ncurses-devel
libgcj
libgcj-devel
libf2c
libstdc++-devel
flex
m4
curl
freetype
freetype-devel

%post

-- 
Best regards,
 Mickael
 mailto:mike at kamloopsbc.com


Tuesday, April 12, 2005, 8:29:01 AM, you wrote:

GW> On Tue, 2005-04-12 at 07:51 -0700, Mickael Maddison wrote:

>> I've thought about that approach, but found it easier to use the stock
>> CD1 and simply put the rest of the CD's on an http server within the
>> network.  Basically, the CDROM is only a boot disk.  The command to
>> get the kickstart file is linux ks=http://192.168.0.99/anaconda.cfg

GW> That sounds like a reasonable approach. What does anaconda.cfg look like
GW> is that the actual ks file? Although all the files we need are on CD1.

GW> Gerald

GW> _______________________________________________
GW> CentOS mailing list
GW> CentOS at centos.org
GW> http://lists.centos.org/mailman/listinfo/centos


GW> __________ NOD32 1.1058 (20050412) Information __________

GW> This message was checked by NOD32 antivirus system.
GW> http://www.nod32.com