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 6f7d73656b68709e923c77e88a97c922eb1e7012..cd2c9c5c8e95b31fa3439a8f1bcc16af9179c695 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 4eadb0f0b5fc91adea745c946324a1d5bea7831b..c74db8481f26801ea3e6528e4c0019bdfe1e1c1a 100644 (file)
@@ -30,3 +30,4 @@ chkconfig gpm off
 echo "Turn on some services..."
 chkconfig multipathd on
 chkconfig nfslock on
+chkconfig ntpd on
index 5a23667f7193f5d9c6d3b9921ecfdc895b26fd23..ff501574e8a027501669e86cc91e10ef5b4d1eee 100644 (file)
@@ -29,3 +29,4 @@ chkconfig gpm off
 
 echo "Turn on some services..."
 chkconfig multipathd on
+chkconfig ntpd on
index 4e7614ff99108c6ea0a0292fac5001cc841ad8b0..36908f08ae7b112f1247992cb7207dd432ecb123 100644 (file)
@@ -14,5 +14,6 @@ echo "Turn on some services..."
 while read s ; do
       systemctl enable "${s}.service"
 done <<EOF
+chronyd
 multipathd
 EOF