Pre-Installation Script
347
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
,
Содержание ENTERPRISE LINUX 5 - VIRTUAL SERVER ADMINISTRATION
Страница 12: ...xii ...
Страница 20: ......
Страница 30: ...12 ...
Страница 32: ...14 ...
Страница 82: ...64 ...
Страница 106: ...88 ...
Страница 122: ...104 ...
Страница 124: ...106 ...
Страница 126: ......
Страница 132: ...114 ...
Страница 168: ...150 ...
Страница 182: ...164 ...
Страница 192: ...174 ...
Страница 194: ......
Страница 236: ...218 ...
Страница 238: ...220 ...
Страница 270: ......
Страница 274: ...256 ...
Страница 278: ...260 ...
Страница 292: ...274 ...
Страница 294: ......
Страница 300: ...282 ...
Страница 304: ......
Страница 316: ...298 ...
Страница 357: ...Creating Partitions 339 Figure 32 7 Creating a Software RAID Device 4 Click OK to add the device to the list ...
Страница 370: ...352 ...
Страница 384: ...366 ...
Страница 385: ...Part VII Appendix ...
Страница 386: ......