I want to change the time zone, I followed all steps but changes are not being reflected. I am trying to change the time zone to Hong Kong.
Could you please help me with this?
Could you please help me with this?
[root@ ~]# vzctl stop 169 Stopping container ... Container was stopped Container is unmounted
[root@ ~]# vzctl set 169 --capability sys_time:on --save CT configuration saved to /etc/vz/conf/169.conf
[root@ ~]# vzctl start 169 Starting container... Container is mounted Adding IP address(es): x.x.x.x Setting CPU limit: 400 Setting CPU units: 1000 Setting CPUs: 2 Container start in progress...
[root@ ~]# vzctl enter 169 entered into CT 169
[root@/]# date Sun Apr 29 07:18:29 UTC 2018
[root@/]# mv /etc/localtime /etc/localtime_bk [root@svr1 /]# ln -s /usr/share/zoneinfo/Asia/Hong_Kong /etc/localtime
[root@/]# date Sun Apr 29 15:19:46 HKT 2018
Comment