mv /etc/ntp.conf /etc/ntp.conf.ori
cat << EOF >/etc/ntp.conf
# Record the rate at which the system clock gains/losses time.
driftfile /var/lib/ntp/ntp.drift
# Specify one or more NTP servers.
server 172.16.0.128 iburst
server 172.16.0.009 iburst
# By default, exchange time with everybody, but dont allow configuration.
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery
# Local users may interrogate the ntp server more closely.
restrict 127.0.0.1
restrict ::1
# Enable this if you want statistics to be logged.
statsdir /var/log/ntpstats/
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable