mirror of
https://github.com/univention/univention-domain-join.git
synced 2025-10-26 11:27:12 +00:00
feat: Increase ntpdate timeout
from default 2 s to 5 s: > ntpdate[…]: no server suitable for synchronization found
This commit is contained in:
parent
728cab3774
commit
d5020d11bf
@ -98,6 +98,6 @@ class KerberosConfigurator(ConflictChecker):
|
||||
def synchronize_time_with_master(self, dc_ip: str) -> None:
|
||||
userinfo_logger.info('Synchronizing time with the DC')
|
||||
subprocess.check_output(
|
||||
['ntpdate', '-bu', dc_ip],
|
||||
['ntpdate', '-b', '-u', '-t', '5', dc_ip],
|
||||
stderr=subprocess.STDOUT
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user