HP XC System Software Administration Guide Version 3.1

1. Make a copy of the appropriate master autoinstallation script
2. Use the text editor of your choice to modify the OVERRIDES variable to match your overrides
subdirectory name, /name.
3. In the /var/lib/systemimager/scripts directory, create symbolic links to this master
autoinstallation script for the nodes that will receive this override.
The symbolic link names must follow the format name.sh, where name is the host name of each
node to receive the override.
For further information on using overrides in the SystemImager environment, see the FAQ chapter in the
SystemImager Manual, located at the following Web site:
http://systemimager.org/doc
The following example describes how to set up an override to enable a compiler package to be delivered
only to the nodes with the login role:
1. Create an overrides subdirectory, named compiler, to contain the compiler package:
# cd /var/lib/systemimager/overrides
# mkdir ./compiler
2. Verify that there are two subdirectories, named base_image and compiler, under the ./overrides
directory.
# # ls -F
base_image/ compiler/ README
3. Install the compiler package into the alternate root location,
/var/lib/systemimager/overrides/compiler.
# rpm -ivh --root \
/var/lib/systemimager/overrides/compiler compilername.rpm
4. Use the find command to verify the file hierarchy:
# find ./compiler
./compiler
./compiler/usr
./compiler/usr/lib/
.
.
.
5. Make a copy of the default HP XC autoinstallation script as a new script to image the login nodes
specifically with the compiler overrides. Name the new autoinstallation script compiler.master.0:
# cp base_image.master.0 compiler.master.0
6. Change directory to the SystemImager “scripts” directory:
# cd /var/lib/systemimager/scripts
7. Use the text editor of your choice to modify the OVERRIDES variable definition in the
compiler.master.0 file as follows:
[ -z $OVERRIDES ] && OVERRIDES="base_image compiler"
It is necessary to append compiler after the string base_image because the default HP XC installation
relies on the base_image override
Save the file and exit the text editor.
132 Distributing Software Throughout the System