OpenVZ Forum


Home » General » Support » Correct Way to Manage System Time & VPS Time
Re: Correct Way to Manage System Time & VPS Time [message #31282 is a reply to message #31267] Tue, 24 June 2008 04:54 Go to previous message
dowdle is currently offline  dowdle
Messages: 261
Registered: December 2005
Location: Bozeman, Montana
Senior Member
I believe container time is tied to the host node's time. So you can't really change it. The only thing you can change is the timezone. The best way to do that is to:

ln -s /usr/share/zoneinfo/{desired-timezone} /etc/localtime

I guess your provider doesn't have the host node syncing time with an ntpd server. If it was, your time would be correct.

I found one wiki article on time:

http://wiki.openvz.org/Timezone

It really is trying to solve a different problem... where your hardware node time is correct and configured with the desired timezone... and OS Templates that were pre-configured with different timezones and you want to make them all the same. It is just fine to have them different if desired.


--
TYL, Scott Dowdle
Belgrade, Montana, USA
 
Read Message
Read Message
Previous Topic: segfaults on ve networking startup
Next Topic: vzpkgcache on Fedora 7 template
Goto Forum:
  


Current Time: Fri Nov 15 01:55:22 GMT 2024

Total time taken to generate the page: 0.03241 seconds