Sunday, June 28, 2015

Enable automatic time synchronization for OpenVZ container in Proxmox (for Ubuntu / Debian)

apt-get update
apt-get -y install ntpdate

locale-gen en_US en_US.UTF-8
dpkg-reconfigure locales

dpkg-reconfigure tzdata

/usr/sbin/vzctl stop  <ctid>
/usr/sbin/vzctl set <ctid>  --capability sys_time:on  --save
/usr/sbin/vzctl start  <ctid>

No comments:

Post a Comment