We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c23464a commit 0259313Copy full SHA for 0259313
1 file changed
contrib/coreos/user-data.example
@@ -41,6 +41,26 @@ coreos:
41
[Service]
42
Type=oneshot
43
ExecStart=/usr/bin/sh -c 'curl -sSL --retry 5 --retry-delay 2 http://deis.io/deisctl/install.sh | sh -s 1.0.2'
44
+ - name: ntpd.service
45
+ command: start
46
+ - name: ntpdate.service
47
48
+ - name: enable-ntp-synchronization.service
49
50
+ content: |
51
+ [Unit]
52
+ Description=Synchronize system clock
53
+ Before=ntpd.service
54
+
55
+ [Service]
56
+ ExecStart=/usr/bin/timedatectl set-timezone UTC
57
+ ExecStart=/usr/bin/timedatectl set-ntp true
58
+ ExecStart=/sbin/hwclock --systohc
59
+ RemainAfterExit=yes
60
+ Type=oneshot
61
62
+ [Install]
63
+ WantedBy=multi-user.target
64
write_files:
65
- path: /etc/deis-release
66
content: |
0 commit comments