kickstart - sadc has no -d option so don't add it
authorMartin Schwenke <martin@meltin.net>
Fri, 27 Jun 2014 01:12:45 +0000 (11:12 +1000)
committerMartin Schwenke <martin@meltin.net>
Wed, 2 Jul 2014 04:17:17 +0000 (14:17 +1000)
-S DISK is the default on at least RHEL 5 and 6, so that should
 collect the disk statistics we want.

Signed-off-by: Martin Schwenke <martin@meltin.net>
templates/nas-kickstart.cfg

index fd10c83c8af47cc04f6f5b70956dba81f8a3a4a5..c51f1bfa512c679c05c8f851b5183285160b963b 100644 (file)
@@ -63,14 +63,6 @@ x2='# By default we accept every block device:'
 y2='# Exclude some block devices:'
 sed -i.orig -e "s@${x1}@${y1}@" -e "s@${x2}@${y2}@" /etc/lvm/lvm.conf
 
-###
-echo "Changing settings so sysstat also reports disk I/O..."
-/etc/init.d/sysstat stop
-rm -f /var/log/sa/*
-for i in "/etc/init.d/sysstat" "/usr/lib64/sa/sa1" ; do
-    sed -i.orig -e 's/sadc -F -L/sadc -d -F -L/g' "$i"
-done
-
 ###
 echo "Setting the value of max opened files..."
 cat >/etc/security/limits.d/autocluster.cfg <<EOF