@@ -118,6 +118,9 @@ function prepare() {
}
function set_ntp() {
+ yum install ntp -y
+ systemctl start ntpd
+ systemctl enable ntpd
timedatectl set-timezone Asia/Shanghai
timedatectl set-ntp true
timedatectl status