IBM RS/6000 User Manual
Page 113

# mkdir /tmp/clone
# cd /tmp/clone
# echo data > signature
# cp /var/adm/ras/bosinst.data .
Refer to the section "Customizing the BOS Install Program" in InfoExplorer for
more details about creating a
bosinst.data
file. You may want to customize it
for your system to get a no-prompt install, in which case you will need to set
more than is listed below (like
CONSOLE
and
PROMPT
)
2. Edit the
bosinst.data
so contains the following:
control_flow:
CONSOLE =
INSTALL_METHOD = overwrite
PROMPT = yes
EXISTING_SYSTEM_OVERWRITE = yes
INSTALL_X_IF_ADAPTER = yes
RUN_STARTUP = yes
RM_INST_ROOTS = no
ERROR_EXIT =
CUSTOMIZATION_FILE = cloner
TCB = no
INSTALL_TYPE =
BUNDLES =
target_disk_data:
LOCATION =
SIZE_MB =
HDISKNAME =
locale:
BOSINST_LANG = C
CULTURAL_CONVENTION = C
MESSAGES = en_US
KEYBOARD = en_US
3. Create the customization script,
cloner
as follows:
#!/usr/bin/ksh
set -x
RV= bootinfo -z
if [ "$RV" -eq 1 ]
then
installp -abcgXd/../SPOT/usr/sys/inst.images bos.rte.mp
ln -fs /usr/lib/boot/unix_mp /usr/lib/boot/unix
fi
if [ "$RV" -eq ]
then
installp -abcgXd/../SPOT/usr/sys/inst.images bos.rte.up
ln -fs /usr/lib/boot/unix_up /usr/lib/boot/unix
fi
devinstall -b -d /../SPOT/usr/sys/inst.images -f /../tmp/device.pkgs
cfgmgr -v -i /../SPOT/usr/sys/inst.images
Chapter 5. AIX Version 4.1.4 Support
89