diff --git a/src/steps-config/100-chrony.sh b/src/steps-config/100-chrony.sh new file mode 100755 index 0000000..71a7ffc --- /dev/null +++ b/src/steps-config/100-chrony.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +queue_apt_install "chrony"; diff --git a/src/steps-postinstall/100-chrony.sh b/src/steps-postinstall/100-chrony.sh new file mode 100755 index 0000000..d867411 --- /dev/null +++ b/src/steps-postinstall/100-chrony.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +task_begin "Stopping systemd-timesyncd"; +systemctl stop systemd-timesyncd +systemctl disable systemd-timesyncd +systemctl mask systemd-timesyncd +task_end 0; + +task_begin "Starting and enabling chrony"; +systemctl enable --now chrony +task_end "$?";