debian首先同步时间再安装

pull/226/head
midoks 3 years ago
parent 4344d774c1
commit 77e4ee1053
  1. 4
      scripts/install/debian.sh

@ -16,6 +16,10 @@ if grep -Eq "Debian" /etc/*-release; then
ln -sf /bin/bash /bin/sh
fi
# synchronize time first
apt-get install ntpdate -y
ntpdate time.nist.gov | logger -t NTP
apt update -y
apt-get update -y

Loading…
Cancel
Save