Skip to content

Commit cdc1a8c

Browse files
committed
builderctl: Create networktime settings file to enable auto time sync
1 parent 4ae295b commit cdc1a8c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

buildmaster/backend/assets/bin/builderctl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,11 @@ def cluster_provision(arguments):
133133
with sftp.open(os.path.join(debug_server, "settings"), "wb") as output_file:
134134
output_file.write("default_action report".encode())
135135

136+
### Ensure system uses network time... create an empty file which the update-time
137+
### launchd job checks for.
138+
with sftp.open(os.path.join(settings_dir, "networktime"), "wb") as output_file:
139+
output_file.write("".encode())
140+
136141
### Tune kernel settings
137142
kernel_settings = os.path.join(settings_dir, "kernel", "drivers")
138143

0 commit comments

Comments
 (0)