[root@namenode ~]# grep -v "#" /etc/ntp.conf | sed '/^ *$/d'
driftfile /var/lib/ntp/drift
restrict -6 default kod nomodify notrap nopeer noquery
restrict 192.168.0.0 mask 255.255.255.0 nomodify notrap
restrict 127.0.0.1
restrict -6 ::1
fudge 127.127.1.0 stratum 10
includefile /etc/ntp/crypto/pw
keys /etc/ntp/keys
[root@datanode2 ~]# grep -v "#" /etc/ntp.conf | sed '/^ *$/d'
driftfile /var/lib/ntp/drift
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
restrict 127.0.0.1
restrict -6 ::1
server namenode
includefile /etc/ntp/crypto/pw
keys /etc/ntp/keys
[root@datanode3 ~]# grep -v "#" /etc/ntp.conf | sed '/^ *$/d'
driftfile /var/lib/ntp/drift
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
restrict 127.0.0.1
restrict -6 ::1
server namenode
includefile /etc/ntp/crypto/pw
keys /etc/ntp/keys
[root@datanode4 ~]# grep -v "#" /etc/ntp.conf | sed '/^ *$/d'
driftfile /var/lib/ntp/drift
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
restrict 127.0.0.1
restrict -6 ::1
server namenode
includefile /etc/ntp/crypto/pw
keys /etc/ntp/keys