We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c23464a + 461dea7 commit e0e9b71Copy full SHA for e0e9b71
1 file changed
contrib/coreos/user-data.example
@@ -41,6 +41,21 @@ 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: ntpdate.service
45
+ command: start
46
+ - name: timedate-ntp-synchronization.service
47
48
+ content: |
49
+ [Unit]
50
+ Description=Synchronize system clock
51
+ After=ntpdate.service
52
+
53
+ [Service]
54
+ ExecStart=/usr/bin/timedatectl set-timezone UTC
55
+ ExecStart=/usr/bin/timedatectl set-ntp true
56
+ ExecStart=/sbin/hwclock --systohc --utc
57
+ RemainAfterExit=yes
58
+ Type=oneshot
59
write_files:
60
- path: /etc/deis-release
61
content: |
0 commit comments