Skip to content

Commit

Permalink
service: wait for chronyd to sync the system time for coreos-installer
Browse files Browse the repository at this point in the history
  • Loading branch information
HuijingHei committed Apr 10, 2023
1 parent e9fcab0 commit c7d4018
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions systemd/coreos-installer.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ Wants=network-online.target
# systemd-resolved comes up if enabled.
# https://github.com/coreos/coreos-installer/issues/283
After=systemd-resolved.service
# Wait for chronyd to sync the system time
# https://github.com/coreos/coreos-installer/issues/1158
After=chronyd.service
ConditionDirectoryNotEmpty=|/etc/coreos/installer.d
ConditionKernelCommandLine=|coreos.inst.install_dev
OnFailure=emergency.target
Expand Down

0 comments on commit c7d4018

Please sign in to comment.