Skip to content

Commit

Permalink
Use Chrony for synchronizing time in Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
hakman committed Nov 4, 2021
1 parent 10cbb9b commit 61688a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nodeup/pkg/model/ntp.go
Expand Up @@ -59,6 +59,7 @@ func (b *NTPBuilder) Build(c *fi.ModelBuilderContext) error {
}

if b.Distribution.IsDebianFamily() {

// Ubuntu recommends systemd-timesyncd, but on ubuntu on GCE systemd-timesyncd is blocked (in favor of chrony)
if b.Distribution.IsUbuntu() && !b.RunningOnGCE() {
if ntpHost != "" {
Expand Down

0 comments on commit 61688a4

Please sign in to comment.