Don't manually mess with ntpd, just enable it in kickstart
authorMartin Schwenke <martin@meltin.net>
Tue, 24 Jun 2014 04:08:40 +0000 (14:08 +1000)
committerMartin Schwenke <martin@meltin.net>
Wed, 2 Jul 2014 04:17:17 +0000 (14:17 +1000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
base/all/root/scripts/setup_cluster.sh
templates/RHEL5.services
templates/RHEL6.services
templates/RHEL7.services

index 6f7d736..cd2c9c5 100755 (executable)
@@ -54,10 +54,6 @@ domain=$(sed -r -n -e 's@^domain[[:space:]]*=[[:space:]]*([^ ]*)[[:space:]]*$@\1
 
 kdc=$(sed -r -n -e 's@^kdc[[:space:]]*=[[:space:]]*([^ ]*)[[:space:]]*$@\1@p' "$conf_file")
 
-echo "Enabling NTP and ensuring it is started..."
-onnode -p all chkconfig ntpd on
-onnode -p all service ntpd restart
-
 mmgetstate | grep active > /dev/null || {
     echo "GPFS must be running to setup Samba"
     exit 1
index 4eadb0f..c74db84 100644 (file)
@@ -30,3 +30,4 @@ chkconfig gpm off
 echo "Turn on some services..."
 chkconfig multipathd on
 chkconfig nfslock on
+chkconfig ntpd on
index 5a23667..ff50157 100644 (file)
@@ -29,3 +29,4 @@ chkconfig gpm off
 
 echo "Turn on some services..."
 chkconfig multipathd on
+chkconfig ntpd on
index 4e7614f..36908f0 100644 (file)
@@ -14,5 +14,6 @@ echo "Turn on some services..."
 while read s ; do
       systemctl enable "${s}.service"
 done <<EOF
+chronyd
 multipathd
 EOF