OpenVZ Forum


Home » General » Support » *SOLVED* Time difference between hwnode and vps
Re: Time difference between hwnode and vps [message #9082 is a reply to message #9036] Fri, 15 December 2006 20:17 Go to previous messageGo to previous message
mh720 is currently offline  mh720
Messages: 7
Registered: August 2006
Junior Member
Good info, thanks! Here is a script that will do this for all your VE's on a given hardware node:

#! /bin/bash
#for f in 103 305 801 802 811 820 1037 2207 2209 2210
for f in `ls /vz/private`
do
vzctl exec $f rm -rf /etc/localtime 2>/dev/null
vzctl exec $f unlink /etc/localtime 2>/dev/null
vzctl exec $f ln -s /usr/share/zoneinfo/CST6CDT /etc/localtime
done


-mike
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *UPDATED* networking Problem venet / veth
Next Topic: *SOLVED* openvpn in VE / Debian - sarge
Goto Forum:
  


Current Time: Sat Nov 16 21:56:59 GMT 2024

Total time taken to generate the page: 0.03009 seconds