Maintain the default template files for copying and backup:
# cd /tftpboot/images/TYPE/ARCH/DISTRO # mv kickstart kickstart.orig # mv netboot netboot.orig |
Maintain the default host files for copying and backup:
# cd /tftpboot/pxelinux.cfg/MAC-address/ # mv kickstart kickstart.orig # mv netboot netboot.orig |
In either or both directories, make another copy for customization:
# cp kickstart.orig kickstart.significant-suffix # cp netboot.orig netboot.significant-suffix |
Change the files as needed:
If you change a template file, make sure the macro lines are exactly as in the original template file, in the same order and the same text.
If you change a host file, make sure your host file has the post-install section copied exactly, in the same location in the file as in the original host file.
If you want to keep multiple versions of a file, give each version a different suffix and make sure to copy over the needed macros or post-install section.
Decide which version will be used for the next BMI server session. Make a backup of this file. This is important, because if any user changes the configuration through the BMI Server Setup feature, your active files will be overwritten.
Create a symlink for the BMI server to find the files that you want to use for the next BMI provisioning session:
# ln -s kickstart.your-suffix kickstart # ln -s netboot.your-suffix netboot |
kickstart.orig kickstart.myServers kickstart.myWorkstations_partA kickstart.myWorkstations_partB kickstart.myWorkstations_partA_backup kickstart -> kickstart.myWorkstations_partA |