diff --git a/debian-setup.sh b/debian-setup.sh index 6bac602..1c3275e 100644 --- a/debian-setup.sh +++ b/debian-setup.sh @@ -91,10 +91,10 @@ systemctl restart ssh # install ntpdate echo "[INFO] Configuring time sync service" # from debian 12, ntp is replaced by ntpsec -apt install -y ntpsec ntpdate ntpstat +sudo apt remove ntpdate +apt install -y ntpsec ntpstat systemctl stop ntp -ntpdate pool.ntp.org systemctl start ntp