How to change time and date and container linux openvz
-I am not linux:
Suppose we want to: 27-May, 2007 and time 17:27.
This is done as root:
# date - set "2007-05-27 17:27" Sun May 27 17:27:00 CET 2007
Now make the same change to update the BIOS date.
# hwclock - set - date ="2007-05-27 17:27"
Para comprobarlo tecleamos:
# hwclock
Fri Feb 25 16:25:06 2000 -0.010586 seconds
Y ya está!
En openvz:
rm -f /etc/localtime 2>/dev/null
ln -s /usr/share/zoneinfo/Europe/Madrid /etc/localtime