Change the timezone of OpenVZ Containers

PDF

The system reads the timezone data from /etc/localtime, which is a symbolic link to a timezone file in the directory /usr/share/zoneinfo/ To Change the timezone of the container you should remove the symbolic link and create a new link to you preferred timezone in my case Europe/Amsterdam:

 

rm -rf /etc/localtime
ln -s /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime
 

Search






You are here: Home Howtos and FAQs Virtualization Change the timezone of OpenVZ Containers