[CentOS] Kickstart Questions

Mon Dec 25 20:15:15 UTC 2006
Elrako X. Harkonnen <karl at klxsystems.net>

Hi,

We dont run DHCP in our environment where I build our servers, is it 
required to get a first IP address to hit my kickstart server running on 
my xandros debian laptop? Just been a couple years since I last did some 
kickstart builds and I dont have system-config-kickstart running on a 
machine here in my home lab.

I can turn on DHCP on my linux laptop perhaps, but just wanted to check 
in here before I over-engineer something.

I have a line in the kickstart file that gives the machine it's network 
addressing like this (fictional IPs):

network --device eth0 --bootproto *static* --*ip* 192.168.25.4 --netmask 
255.255.255.0 --gateway 192.168.25.1 --nameserver 
192.168.25.2,192.168.25.3 --hostname myhost4.mydomain.com

it's right under these: (#question, it does go at the end, in the 
position I have it in right?)
----snip----------
# KICKSTART FOR STANDARD SERVER
install
cdrom

lang en_US.UTF-8
langsupport --default=en_US.UTF-8 en_US.UTF-8
keyboard us

# what's this for?  I found it in an example file.
# %include /tmp/netconfig

firewall --disabled
selinux --disabled

# what's this for?  Also found in example file.
%include /tmp/authconfig

#  xconfig --startxonboot
# #####Question:  Do I just leave this 'xconfig' statement out 
completely since I dont run X?

timezone --utc America/Los_Angeles
bootloader --location=mbr --append="rhgb quiet"

######################################################################
## DISK CONFIGURATION
# Partitioning
# Using the default partition table.

clearpart --all --initlabel
# can I add the '--drives=sda' sda section to the end of the above line? 
i got from example file wanted to combine with initlabel statement..
# clearpart --all --drives=sda

part / --fstype "ext3" --size=1012 --ondisk=sda   # do i need to call 
the sda scsi disk out if there are no IDE drives?
part /boot --fstype "ext3" --size=256 --ondisk=sda
part swap --size=8192 --ondisk=sda

part /home --fstype "ext3" --size=8192 --ondisk=sda
part /var --fstype "ext3" --size=8192 --ondisk=sda

part /tmp --fstype "ext3" --size=1012 --ondisk=sda
part /usr --fstype "ext3" --size=4096 --ondisk=sda
part /var --fstype "ext3" --size=40960 --grow --ondisk=sda

######################################################################
## PACKAGES
%packages

## Standard packages
@base
@development-tools
kernel

network --device eth0 --bootproto *static* --*ip* 192.168.25.4 --netmask 
255.255.255.0 --gateway 192.168.25.1 --nameserver 
192.168.25.2,192.168.25.3 --hostname myhost.mydomain.com