The Finish file is executed after the operating system image is installed on the JumpStart client. This script contains setup steps that complete the installation and make the JumpStart client fully operational.
To edit the finish file
/config_parent/config_dir/Solaris_8/bin/post_install.sh
cp $CA_DCA_MANAGER/imaging/etc/post_install.sh config_parent/config_dir/Solaris_8/bin/
The post_install.sh file provided with CA Server Automation JumpStart Adapter is copied.
Sets the password.
Example: PASSWD=pZWXCvV5eAkJU.
Specifies the path to the patches.
Example: PATCH_LOCATION=server_hostname:/image_parent/sol_8/Solaris_8/Patches
Specifies the tunable Solaris parameters. Requires a system reboot for settings to take effect.
Example:
SHMMAXv8_HEX=0x400000
SHMSEGv8_HEX=0x100
SEMMNIv8_HEX=0x100
SEMMNSv8_HEX=0x12c
SEMUMEv8_HEX=0x20
SEMMNUv8_HEX=0x100
Specifies any additional patches added to the installation image. Add patchadd statements in this section to add these patches during provisioning:
if [ "$OSVER" = "5.8" ] ; then
echo "${ID}Install SUN patches"
echo "${ID}mount -f nfs ${PATCH_LOCATION} ${A_ROOT}/mnt"
mount -f nfs ${PATCH_LOCATION} ${A_ROOT}/mnt
echo "${ID}patchadd -R ${A_ROOT} ${A_ROOT}/mnt/112438-03"
patchadd -R ${A_ROOT} ${A_ROOT}/mnt/112438-03
echo "${ID}patchadd -R ${A_ROOT} ${A_ROOT}/mnt/108434-22"
patchadd -R ${A_ROOT} ${A_ROOT}/mnt/108434-22
echo "${ID}umount ${A_ROOT}/mnt"
umount ${A_ROOT}/mnt
The password, patch location, CA IPC tunables and optional patches are set in the Finish file.
Copyright © 2013 CA. All rights reserved. |
|