4.2. Customizing Configuration of Compute Nodes

Create a new XML configuration file that will extend the current compute.xml configuration file:

# cd /export/rocks/install/site-profiles/5.3/nodes/
# cp skeleton.xml extend-compute.xml

Inside extend-compute.xml, add your configuration scripts that will be run in the post configuration step of the Red Hat installer.

Put your bash scripts in between the tags <post> and </post>:

	< !-- insert your scripts here -->

To apply your customized configuration scripts to compute nodes, rebuild the distribution:

# cd /export/rocks/install
# rocks create distro

Then, reinstall your compute nodes.