Listing 3. Example nodes-ks.cfg ### System language lang en_US.UTF-8 ### System keyboard keyboard us ### System timezone timezone America/New_York ### Root password rootpw abcd1234 ### System authorization information auth --useshadow --enablecache ### Firewall configuration # Firewalls are not necessary in a cluster, usually firewall --disabled ### Disables Selinux selinux --disable ### Repositories repo --name=Your-Custom-Repo --baseurl= http://your.custom.repo/ repo --name=base --baseurl= http://mirror.centos.org/centos/5/os\$basearch/ repo --name=newrepo --baseurl=file:///tmp/localrepo ### Enable and disable some services services --enabled=gpm,ipmi,ntpd --disabled=nfs ### Package install information %packages bash kernel syslinux passwd policycoreutils chkconfig authconfig rootfiles comps-extras xkeyboard-config nscd nss_ldap autofs gpm ntp compat-gcc-34-g77 compat-libf2c-34 compat-libstdc++-296 compat-libstdc++-33 dapl dapl-utils dhcp dmidecode hwloc iscsi-initiator-utils libXinerama libXmu libXpm libXp libXt man mesa-libGL nfs-utils openssh openssh-clients openssh-server pciutils sysklogd tvflash vim-minimal vim-enhanced ### Pre-install scripts ### Post-install scripts %post ### Here you can run any shell commands you wish to ### further customize your nodes. ### Sets up DHCP networking on the compute nodes cat << EOF > ifcfg-eth0 DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes MTU=1500 EOF mv ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0