How to set up the NTP server in run time?

In the BALENA OS description, we should set up the NTP servers in the containers configuration or also using the environment variable, but all in all is not very clear if I need to chenge the NTP server in run time.
Our device is always configured at the moment of installation and most of the clients have their own NTP server.

Which is the best way to set up the NTP server in runtime?

Hello,
The devices should pick up the NTP servers advertised by DHCP when connecting.
There is no other way to set NTP servers at runtime for now.
There is an open issue for that: https://github.com/balena-io/balena-supervisor/issues/642

Thanks there, hope you get a solution soon

running into the same issue.
is there any way to update the NTP server without physical access to the device?

Hi @henryh. Welcome to the balena forums.

The above Github issue is still open so as of yet there is no support for changing the NTP servers other than via DHCP. We’ll update this thread when the issue is resolved.

Thanks,
James.