diff options
author | Martin Schwenke <martin@meltin.net> | 2014-06-23 11:18:13 +1000 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2014-07-02 14:17:17 +1000 |
commit | c113a096bd50b7289732b2869424a439675b4ae2 (patch) | |
tree | 8039d6662c59ac0896183650f1c42b9a4503632a /templates | |
parent | f9ea96197cfb5bdeff519270803415ad2b1174a0 (diff) | |
download | autocluster-c113a096bd50b7289732b2869424a439675b4ae2.tar.gz autocluster-c113a096bd50b7289732b2869424a439675b4ae2.tar.xz autocluster-c113a096bd50b7289732b2869424a439675b4ae2.zip |
Enable nfslock in services file instead of in basic post-install
Note sure why it was done this way...
Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/RHEL5.services | 2 | ||||
-rw-r--r-- | templates/RHEL6.services | 1 | ||||
-rw-r--r-- | templates/RHEL7.services | 1 | ||||
-rw-r--r-- | templates/basic-postinstall.sh | 5 |
4 files changed, 1 insertions, 8 deletions
diff --git a/templates/RHEL5.services b/templates/RHEL5.services index a02f91e..4eadb0f 100644 --- a/templates/RHEL5.services +++ b/templates/RHEL5.services @@ -15,7 +15,6 @@ chkconfig ipmi off chkconfig iptables off chkconfig irda off chkconfig kudzu off -chkconfig nfslock off chkconfig nscd off chkconfig pand off chkconfig pcscd off @@ -30,3 +29,4 @@ chkconfig gpm off echo "Turn on some services..." chkconfig multipathd on +chkconfig nfslock on diff --git a/templates/RHEL6.services b/templates/RHEL6.services index a02f91e..5a23667 100644 --- a/templates/RHEL6.services +++ b/templates/RHEL6.services @@ -15,7 +15,6 @@ chkconfig ipmi off chkconfig iptables off chkconfig irda off chkconfig kudzu off -chkconfig nfslock off chkconfig nscd off chkconfig pand off chkconfig pcscd off diff --git a/templates/RHEL7.services b/templates/RHEL7.services index 8874a02..4e7614f 100644 --- a/templates/RHEL7.services +++ b/templates/RHEL7.services @@ -5,7 +5,6 @@ while read s ; do done <<EOF atd avahi-daemon -nfslock EOF chkconfig rhnsd off diff --git a/templates/basic-postinstall.sh b/templates/basic-postinstall.sh index faa422f..70e0c23 100644 --- a/templates/basic-postinstall.sh +++ b/templates/basic-postinstall.sh @@ -54,9 +54,4 @@ yum clean all # the base install. rm -f /etc/udev/rules.d/70-persistent-net.rules -# Useful for both NAS cluster nodes and client nodes. Only really -# needed on RHEL5 since this gets started by default on RHEL6. -echo "Enabling NFS locking" -chkconfig nfslock on - sync |