From 34cf1d385055030bf4c856ea3628de883b865d4c Mon Sep 17 00:00:00 2001 From: Ahmed Bilal Khalid Date: Sat, 14 Sep 2019 23:53:02 +0500 Subject: [PATCH] a --- init.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/init.sh b/init.sh index e40925a..473704f 100644 --- a/init.sh +++ b/init.sh @@ -45,7 +45,7 @@ EOF apk upgrade # Install system packages - apk add python3 ceph py2-pip py3-pip etcd-ctl + apk add python3 ceph py2-pip py3-pip etcd-ctl openntpd # Some python package dependencies apk add libffi-dev openssl-dev make alpine-sdk gcc g++ python3-dev @@ -54,6 +54,13 @@ EOF (cd qemu-with-rbd-alpine && apk add *.apk --allow-untrusted) + cat > /etc/ntpd.conf << EOF +servers pool.ntp.org +EOF + + rc-update add openntpd + service openntpd start + ;; "devuan"|"debian") # Update Package List and Upgrade System