Fix Date Time on PVE OpenVZ Guest machine

  1. Stop VE vzctl stop 101
  2. in HD node, run:
  3. vzctl set 101 –capability sys_time:on –save
  4. Start VE: vzctl start 101
  5. Enter VE: vzctl enter 101
  6. mv /etc/localtime /etc/localtime.old
  7. ln -s /usr/share/zoneinfo/Asia/Dhaka /etc/localtime
  8. date 092115442006 (09 = Month, 21 = day, 15 = hour, 44=minutes, 2006 = year)

Run date to check your time is right. That’s it!

Share

Leave a Reply