5.2. Customizing Configuration of Compute Nodes

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

# cd /home/install/site-profiles/4.1/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>:

<post>
	< !-- insert your scripts here -->
</post>

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

# cd /home/install
# rocks-dist dist

Then, reinstall your compute nodes.