Pre-Installation Script - Red Hat ENTREPRISE LINUX 5 Installation Manual

Table of Contents

Advertisement

Pre-Installation Script

32.10. Pre-Installation Script
Figure 32.15. Pre-Installation Script
You can add commands to run on the system immediately after the kickstart file has been parsed and
before the installation begins. If you have configured the network in the kickstart file, the network is
enabled before this section is processed. To include a pre-installation script, type it in the text area.
To specify a scripting language to use to execute the script, select the Use an interpreter option
and enter the interpreter in the text box beside it. For example, /usr/bin/python2.4 can be
specified for a Python script. This option corresponds to using %pre --interpreter /usr/bin/
python2.4 in your kickstart file.
Many of the commands that are available in the pre-installation environment are provided by a version
of busybox called busybox-anaconda. Busybox-supplied commands do not provide all features,
but supply only the most commonly used features. The following list of available commands include
commands provided by busybox:
addgroup, adduser, adjtimex, ar, arping, ash, awk, basename, bbconfig, bunzip2,
busybox, bzcat, cal, cat, catv, chattr, chgrp, chmod, chown, chroot, chvt, cksum,
clear, cmp, comm, cp, cpio, crond, crontab, cut, date, dc, dd, deallocvt, delgroup,
deluser, devfsd, df, diff, dirname, dmesg, dnsd, dos2unix, dpkg, dpkg-deb, du,
dumpkmap, dumpleases, e2fsck, e2label, echo, ed, egrep, eject, env, ether-wake, expr,
fakeidentd, false, fbset, fdflush, fdformat, fdisk, fgrep, find, findfs, fold, free,
freeramdisk, fsck, fsck.ext2, fsck.ext3, fsck.minix, ftpget, ftpput, fuser, getopt,
getty, grep, gunzip, gzip, hdparm, head, hexdump, hostid, hostname, httpd, hush,
hwclock, id, ifconfig, ifdown, ifup, inetd, insmod, install, ip, ipaddr, ipcalc, ipcrm,
ipcs, iplink, iproute, iptunnel, kill, killall, lash, last, length, less, linux32,
347

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise linux 5

Table of Contents