Previous Topic

Next Topic

Red Hat Linux anaconda-ks.cfg sample file

The operating system-dependent unattended installation file is not created by the Toolkit utilities. The user must create the file separately. In the following example, bold lines indicate modifications made to fully automate the installation of the operating system.

Refer to the operating system documentation or the Red Hat Linux 9: Red Hat Linux Customization Guide for a complete description of the options that can be modified in the anaconda-ks.cfg unattended installation file to customize the installation of Red Hat Linux.

lang en_US

REM *** Modify the network settings to reflect required

REM *** network settings.

network --bootproto dhcp

REM *** The IP address should be the address of the

REM *** Linux repository server. The /SHAREVOL/RedHatCD

REM *** must be shared as an NFS volume.

nfs --server 192.1.1.3 --dir /SHAREVOL/RedHatCD

device ethernet eepro100

keyboard "us"

zerombr yes

clearpart --Linux

part /boot --size 30

part swap --size 128

part / --size 100 --grow

install

mouse genericps/2

timezone Etc/GMT-6

#xconfig --server "Mach64" --monitor "generic monitor"

skipx

rootpw iscrypted $1$ltK6jzho$7pPbE8WPNAeg44UlXqG27

auth --useshadow --enablemd5

lilo --location partition

reboot

%packages

ElectricFence

setup

filesystem

basesystem

ldconfig

glibc

shadow-utils

mkkickstart

mktemp

termcap

libtermcap

bash

MAKEDEV

SysVinit

XFree86-Mach64

ncurses

info

grep

XFree86-libs

chkconfig

XFree86-xfs

anacron

anonftp

fileutils

mailcap

textutils

apache

apmd

arpwatch

ash

at

authconfig

autoconf

automake

yp-tools

ypbind

ypserv

zlib

zlib-devel

%post

The previous example contains a limited list of packages to be installed. Add to this section any other packages to be installed.

The server deployment configuration and operating system installation process is complete.