summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2012-05-22 13:36:12 +1000
committerMartin Schwenke <martin@meltin.net>2012-05-22 13:36:12 +1000
commit1e9edbebe4af6515c54ebbb8bab6857ecbf6a934 (patch)
treee90049042672f81fb393b909deab6e8f22ff93f6 /templates
parent289feae27f85d85716c72786def5071d21390ceb (diff)
downloadautocluster-1e9edbebe4af6515c54ebbb8bab6857ecbf6a934.tar.gz
autocluster-1e9edbebe4af6515c54ebbb8bab6857ecbf6a934.tar.xz
autocluster-1e9edbebe4af6515c54ebbb8bab6857ecbf6a934.zip
Remove old SoFS-releated files
kickstart-SoFS.cfg is superceded by gpfs-nas-kickstart.cfg, which is now the default. SoFS-postinstall.sh is superceded by gpfs-nas-postinstall.cfg. The contents of releases/ and imacros/ are no longer of any value. Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'templates')
-rw-r--r--templates/kickstart-SoFS.cfg194
1 files changed, 0 insertions, 194 deletions
diff --git a/templates/kickstart-SoFS.cfg b/templates/kickstart-SoFS.cfg
deleted file mode 100644
index 44cf8ac..0000000
--- a/templates/kickstart-SoFS.cfg
+++ /dev/null
@@ -1,194 +0,0 @@
-# Merged kickstart. Minor bugfixes come for free bug features should
-# be configured for the correct version.
-install
-cdrom
-#ignoredisk --drives=[sdb,sdc,sdd,sde,sdf,sdg,sdh,sdi,sdj,sdk,sdl,sdm,sdn,sdo,sdp,sdq,sdr,sds,sdt,sdu,sdv,sdw,sdx,sdy,sdz,sdaa]
-key @@INSTALLKEY@@
-lang @@KS_LANGUAGE@@
-keyboard @@KEYBOARD@@
-skipx
-text
-network --device eth0 --bootproto dhcp
-network --device eth1 --onboot no --bootproto static
-rootpw @@ROOTPASSWORD@@
-firewall --disabled
-selinux --disabled
-authconfig --enableshadow --enablemd5
-timezone --utc @@TIMEZONE@@
-halt
-# if you want to have quiet boots add option 'quiet' to the next line
-# For debugging purposes or in case of trouble boot messages are very helpful
-bootloader --location=mbr --driveorder=@@SYSTEM_DISK_PREFIX@@a --append="@@KS_KERNEL_OPTS@@"
-
-# The following is the partition information you requested
-# Note that any partitions you deleted are not expressed
-# here so unless you clear all partitions first, this is
-# not guaranteed to work
-clearpart --drives=@@SYSTEM_DISK_PREFIX@@a --initlabel
-part / --ondisk=@@SYSTEM_DISK_PREFIX@@a --fstype ext3 --size=@@ROOTSIZE@@
-part swap --ondisk=@@SYSTEM_DISK_PREFIX@@a --size=@@SWAPSIZE@@
-
-
-
-#The following Part lists all the packages that are needed for the Installation
-%packages
-
-@@@RHEL_PACKAGES@@@
-
-@@_EXTRA_RHEL_PACKAGES@@
-
-@@EXTRA_PACKAGES@@
-
-%post
-
-(
-set -x
-
-echo "Turn off several services ..."
-chkconfig atd off
-chkconfig avahi-daemon off
-chkconfig avahi-dnsconfd off
-chkconfig bluetooth off
-chkconfig cpuspeed off
-chkconfig cups off
-chkconfig dhcdbd off
-chkconfig dund off
-chkconfig firstboot off
-chkconfig haldaemon off
-chkconfig hidd off
-chkconfig ip6tables off
-chkconfig ipmi off
-chkconfig iptables off
-chkconfig irda off
-chkconfig kudzu off
-chkconfig nfslock off
-chkconfig nscd off
-chkconfig pand off
-chkconfig pcscd off
-chkconfig restorecond off
-chkconfig rhnsd off
-chkconfig sendmail off
-chkconfig setroubleshoot off
-chkconfig smartd off
-chkconfig xfs off
-chkconfig yum-updatesd off
-chkconfig gpm off
-
-echo "Turn on several services ..."
-chkconfig multipathd on
-
-for i in @@EXTRA_CHKCONFIGS@@ ; do
- chkconfig ${i%:*} ${i#*:}
-done
-
-echo "Changing network settings regarding IPv6 in /etc/sysconfig/network..."
-# Changing network settings regarding IPv6 in /etc/sysconfig/network - set NETWORKIN_IPV6 to 'no'
-sed s/"NETWORKING_IPV6=yes"/"NETWORKING_IPV6=no"/g /etc/sysconfig/network -i.org
-echo "Done - /etc/sysconfig/network changed"
-echo "SED executed."
-echo " "
-
-echo "Changing filter settings in lvm.conf..."
-# Change filter for scanning devices in /etc/lvm/lvm.conf to reduce boot time
-sed s/"filter = \[ \"a\/\.\*\/\" \]"/"filter = \[ \"a\|\^\/dev\/mapper\/\.\*\|\"\, \"a\|\^\/dev\/sda\.\*\|\"\, \"r\|\.\*\|\" ]"/g /etc/lvm/lvm.conf -i.org
-echo "Done - lvm.conf changed"
-echo "SED executed."
-echo " "
-
-echo "Changing settings in /etc/init.d/sysstat..."
-/etc/init.d/sysstat stop
-rm -f /var/log/sa/*
-# Change settings in /etc/init.d/sysstat to report also disk IO to the SoFS GUI
-sed s/"sadc -F -L -"/"sadc -F -L -d -"/g /etc/init.d/sysstat -i.org
-sed s/"sadc -F -L"/"sadc -d -F -L"/g /usr/lib64/sa/sa1 -i.org
-echo "Done - systat changed"
-/etc/init.d/sysstat start
-echo "SED executed."
-echo " "
-
-echo "Setting the value of max opened files"
-echo "* soft nofile 50000" >> /etc/security/limits.conf
-echo "* hard nofile 50000" >> /etc/security/limits.conf
-echo "* soft core unlimited" >> /etc/security/limits.conf
-echo "Done setting the value of max opened files in /etc/security/limits.conf"
-
-echo "Changing the configuration options for sshd_config (Increase number of connections)"
-echo "
-# SoFS specific settings
-MaxStartups 1024
-">>/etc/ssh/sshd_config
-
-
-echo "Disabling the prelink feature in /etc/sysconfig/prelink"
-# Disable the prelink feature to have static checksums
-sed s/"PRELINKING=yes"/"PRELINKING=no"/g /etc/sysconfig/prelink -i.org
-echo "Done - /etc/sysconfig/prelink changed"
-echo "SED executed."
-echo " "
-
-echo "Disabling several unneeded modules"
-echo '###############################
-### SoFS disabled modules ###
-alias pcspkr off
-alias lp off
-alias parport off
-alias parport_pc off
-alias joydev off
-alias bluetooth off
-alias l2cap off
-alias rfcomm off
-alias video off
-alias backlight off
-alias button off
-alias battery off
-alias net-pf-10 off
-alias ipv6 off
-### END SoFS disabled modules ###
-'>>/etc/modprobe.conf
-echo "Done - Disabling unneeded modules"
-
-echo "Creating new multipath.conf"
-# Save the existing multipath.conf file
-cat /etc/multipath.conf >/etc/multipath.conf.org
-# Write Multipath.conf - NOTE: The file will be created!
-echo '
-#-------------------
-defaults {
-udev_dir /dev
-getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
-user_friendly_names yes
-}
-
-blacklist {
-#devnode "^\(ram\|raw\|loop\|fd\|md\|dm-\|sr\|scd\|st\)[0-9]*"
-#devnode "^hd[a-z]"
-devnode "^@@SYSTEM_DISK_PREFIX@@a[0-9]*$"
-}
-
-#-------------------
-'>/etc/multipath.conf
-echo "Done - Creating multipath.conf"
-echo "."
-
-echo "Enabling dumps logging for multipathd" >>/tmp/ks.log
-echo 'DAEMON_COREFILE_LIMIT="unlimited"' >/etc/sysconfig/multipathd
-echo "Done - Enabling dumps logging for multipathd" >>/tmp/ks.log
-echo "." >>/tmp/ks.log
-
-echo 'if ! echo ${PATH} | grep -q /usr/lpp/mmfs/bin ; then
- if [ `id -u` = 0 ] ; then
- PATH=/usr/lpp/mmfs/bin:${PATH}
- fi
-fi
-'>/etc/profile.d/sofs_profile.sh
-
-@@@STANDARD_POSTINSTALL@@@
-
-@@@POSTINSTALL_TEMPLATE@@@
-
-sync
-
-) 2>&1 | tee /var/log/ks-postinstall.log > /dev/console
-
-%end
-