I too have been very interested in the SHUTDOWN and TIMESERVER options. 
I've had no luck yet with shutting down the clients automatically, but I 
do have the timeserver option working correctly.

I had to add a script to my chroot to get the timeserver to update (I 
have my own timeserver 10.1.1.10 mainly because this is a mythtv server 
with 11 diskless front ends and sometimes we don't have internet at this 
remote location).

*/var/lib/tftpboot/ltsp/i386/lts.conf*
TIMESERVER = 10.1.1.10
RCFILE_01 = /etc/ltsp/ntpdate


$ sudo mkdir /opt/ltsp/i386/etc/ltsp
$ sudo vim /opt/ltsp/i386/etc/ltsp/ntpdate*

/opt/ltsp/i386/etc/ltsp/ntpdate**
*
#!/bin/bash
if [ -n $TIMESERVER ]; then
ntpdate $TIMESERVER &
else
ntpdate pool.ntp.org
fi

$ sudo chmod +x /opt/ltsp/i386/etc/ltsp/ntpdate

Update the image


After that your clients should update their time when they boot up. I 
did this because if the time isn't exactly the same as the server 
mythfrontend will not start on the clients.


Michael Pope


On 24/03/11 03:32, David Burgess wrote:
> I have had much use of the Ubuntu wiki docs that describe how to use
> cron and ntpdate to do handy things like start up and shut down the
> clients, but it appears that these documents are somewhat outdated in
> the context of Ubuntu 10.10 and newer.
>
> Looking at the lts.conf manpage for 10.10
> (http://manpages.ubuntu.com/manpages/maverick/man5/lts.conf.5.html), I
> see handy options like SHUTDOWN_TIME and TIMESERVER. IIRC, cron is not
> installed in the chroot by default. Is a manual install required by
> the SHUTDOWN_TIME option?
>
> Does the TIMESERVER option require any further configuration (besides
> pointing it to a valid ntp server)? I see ntpd is running in the
> clients already.
>
> db
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _____________________________________________________________________
> Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>        https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help,   try #ltsp channel on irc.freenode.net
>
> .
>

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to