Understanding xCAT kickstart file
"%include /tmp/provisioning" in xCAT kickstart template mean?
In xCAT diskful kickstart template, e.g.
%include /path/to/file or
%include <url> command is used to include the contents of another file in the kickstart file as though the contents were at the location of the
%include command in the kickstart file. So
"%include /tmp/provisioning" will include the content of
/tmp/provisioning in kickstart file.
The content of
"%include /tmp/provisioning" is generated by the script
pre.rh for Rhel OS. The file
/tmp/provisioning will be removed after provisioning.
In PCMAE context, if you want to customize the diskfull osimage kickstart file, modify the script
/opt/xcat/share/xcat/install/scripts/pre.<os_type>. Below is an example:
Customization to Rhel kickstart file to increase swap from 1GB to 2GB
The changes to
#echo "part swap --size 1024" >> /tmp/partitioning
echo "part swap --size 2048" >> /tmp/partitioning
Below is the swap on host abc001 after provisioning.
# free|grep Swap
Swap: 2097144 0 2097144
|IBM Spectrum Computing||IBM Spectrum Cluster Foundation|
Translate this page: