Timezone setting


#1

Hi…

I’m new to RancherOS. By default, RancherOS has a default setting for time to be UTC. However, how do I change it to either UTC-8 or Pacific/Honolulu?

I tried using this command to set the variable then rebooted the server but it still will not take into effect. Please help, I’m lost as to what I can do to fix this. BTW, ntp.conf has been modify to point to our time server but I think timezone still need to be changed somehow. Any help is greatly appreciated!

sudo ros config set rancher.services.console.environment.TZ “Pacific/Honolulu”

Wendy


#2

The tzdata is so large for RancherOS, I don’t want to introduce it.

This may be helpful: https://github.com/rancher/os/issues/2218