Re: [Lxc-users] reading hwclock from container

2011-12-18 Thread Zhu Yanhai
2011/12/18 DTK : > I am trying to avoid having to install NTP in every container, so I > came up with following idea. > > Main server cron job > >        * 0 *  * * /sbin/hwclock -w > > Each container has following cron job > >        10 0 *  * * /sbin/hwclock -s > > However, the container can't ac

Re: [Lxc-users] reading hwclock from container

2011-12-18 Thread Ulli Horlacher
On Sat 2011-12-17 (14:38), DTK wrote: > I am trying to avoid having to install NTP in every container, so I > came up with following idea. > > Main server cron job > > * 0 * * * /sbin/hwclock -w > > Each container has following cron job > > 10 0 * * * /sbin/hwclock -s > > How

[Lxc-users] reading hwclock from container

2011-12-17 Thread DTK
I am trying to avoid having to install NTP in every container, so I came up with following idea. Main server cron job * 0 * * * /sbin/hwclock -w Each container has following cron job 10 0 * * * /sbin/hwclock -s However, the container can't access /dev/rtc and I am guessing th