Previous Topic: Edit the Configuration File

Next Topic: Configure SSH for JumpStart


Edit the Finish File

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

  1. Navigate to the configuration parent directory and copy the post_install.sh 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.

  2. Open the Finish file with a text editor of your choice and replace the values of the following variables:
    PASSWD

    Sets the password.

    Example: PASSWD=pZWXCvV5eAkJU.

    PATCH_LOCATION

    Specifies the path to the patches.

    Example: PATCH_LOCATION=server_hostname:/image_parent/sol_8/Solaris_8/Patches

    IPC Tunables

    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

    Optional Patches

    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.