Chapter 7.
Implementing Kickstart
Obviously, the best time to make configuration changes to a system is when that system is first
being built. For customers who already use kickstart effectively, the bootstrapping script is an
ideal addition to that process.
Once all of the configuration issues have been resolved, a system may also register with the
local Red Hat Network Servers using the
RPMs. This chapter discusses the proper use of
rhn_register
The
utility uses activation keys to register, entitle, and subscribe systems to
rhnreg_ks
specified channels in one swift motion. To find out more about activation keys, refer to the Red
Hat Update Agent and RHN Website chapters of the Red Hat Network Management Reference
Guide.
The following commented kickstart file is an ideal example of how a system can be configured
from start to finish using Red Hat Network.
# Generic 7.2 kickstart for laptops in the Widget Corporation (widgetco)
# Standard kickstart options for a network-based install. For an
# explanation of these options, consult the Red Hat Linux Customization
# Guide.
lang en_US
langsupport --default en_US en_US
keyboard defkeymap
network --bootproto dhcp
install
url --url ftp://ftp.widgetco.com/pub/redhat/linux/7.2/en/os/i386
zerombr yes
clearpart --all
part /boot
--size 128 --fstype ext3 --ondisk hda
part /
part /backup --size 1024 --fstype ext3 --ondisk hda
part swap
bootloader --location mbr
timezone America/New_York
rootpw --iscrypted $1$78Jnap82Hnd0PsjnC8j3sd2Lna/Hx4.
auth --useshadow --enablemd5 --krb5realm .COM --krb5kdc auth.widgetco.com \
--krb5adminserver auth.widgetco.com
mouse --emulthree genericps/2
xconfig --card "S3 Savage/MX" --videoram 8192 --resolution 1024x768 \
--depth 16 --defaultdesktop=GNOME --startxonboot --noprobe \
--hsync 31.5-48.5 --vsync 40-70
reboot
# Define a standard set of packages. Note: Red Hat Network client
# packages are found in Base. This is quite a minimal set of packages;
# your mileage may vary.
rhnreg_ks
--size 2048 --grow --fstype ext3 --ondisk hda
--size 512 --ondisk hda
utility that comes with the
rhnreg_ks
and
up2date
to register systems.
33
Need help?
Do you have a question about the NETWORK SATELLITE 5.1.0 - CLIENT and is the answer not in the manual?