Merge "Purge chrony package in NTP element"

This commit is contained in:
Jenkins 2017-01-23 14:43:46 +00:00 committed by Gerrit Code Review
commit 38bf5ea7a4
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,10 @@
#!/bin/bash
set -ue
# we don't want chrony and ntp conflict each others.
if rpm -q chrony; then
yum remove -y chrony
fi
# ntpdate is used when the network is brought up to correct any large time skew
install-packages ntp ntpdate