11. Final tasks
11.1. Install compute node with cobbler
Warning
Due to a bug in Cobbler, the snippet redhat_register
need to be removed from the kicktart file.
In the sample.ks
file, this snippet is located in the line 66.
Create your own kickstart template
/var/lib/cobbler/templates/compute.ks
for compute nodes based on/var/lib/cobbler/templates/sample.ks
. Keep cobbler specific additions intact.Create a profile which uses this template and assign two of your systems to it
Your kickstart should install a minimal set of RPM packages
Install at least one good editor (vim or emacs)
You should be able to SSH into the node after installation
11.2. Change default password
Change the default root password for newly installed systems to
mhpc2025
.
11.3. Add a custom login message
Create a snippet which creates a custom login message by creating the
/etc/motd
text file.Example Login messagecat > /etc/motd <<EOF __ __ _ _ ____ ____ | \/ | | | | _ \ / ___| | |\/| | |_| | |_) | | | | | | _ | __/| |___ |_| |_|_| |_|_| \____| EOF
Modify your kickstart template(s) to use the snippet.