#! /bin/bash ############################################################ ## cpatchcn.conf ## Configuration script to customise an 'old' copy of Rocks Cluster compute node. ## cpatchcn.conf DOES NOT copy the large virtualwindows file into local harddisk ## cpatchcn.conf is to be found in /share/apps/configrepo in the Rocks cluster ############################################################ sh /share/apps/configrepo/cpatchfe.conf *********************************************** #Change the grub.conf for each compute node cd /share/apps/configrepo #mv /boot/grub/grub.conf /boot/grub/grub.conf.backup #cp grub.conf /boot/grub/grub.conf #Disable suspend and hibernate option gconftool-2 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory -s -t bool /apps/gnome-power-manager/can_suspend false /apps/gnome-power-manager/can_hibernate false ############ end of installation #################### echo -e "\nMessage from the author :\nCOMPLETE!!! \n"