[K12OSN] lts.conf query
Jim McQuillan
jam at mcquil.com
Tue Mar 22 20:10:19 UTC 2005
On Tue, 22 Mar 2005, Calvin Dodge wrote:
> Huck wrote:
> > Is it possible to say in lts.conf
> >
> > [ws120 - ws129]
> > XSERVER = sis
> >
> >
> > [ws130 - ws139]
> > XSERVER = ati
> >
> >
> >
> > ??
> >
> > or do I have to explicitly set each one?
> >
> > or maybe something like
> >
> > sislab = ws120,ws121,ws122,ws123,ws124,ws125,ws126,ws127,ws128,ws129
> >
> > and then
> >
> > [sislab]
> > XSERVER = sis
>
> I'm having a little trouble determining this from the source code (100K of
> Perl), but I doubt either of the above options is possible.
Makes me wonder what source code you are looking at. I wrote getltscfg
in C.
And, btw, [ws120 - ws129] is unfortunately NOT valid.
What you could do, is setup something like this:
[DellGX1]
XSERVER = sis
[HPVectra]
XSERVER = ati
[ws120] LIKE = DellGX1
[ws121] LIKE = DellGX1
[ws122] LIKE = DellGX1
[ws123] LIKE = DellGX1
[ws130] LIKE = HPVectra
[ws131] LIKE = HPVectra
[ws131] LIKE = HPVectra
Hope that helps,
Jim McQuillan
jam at Ltsp.org
>
> The following script will add the appropriate entries to lts.conf
> (n=120;while [ $n -le 129 ];do echo \[ws$n\];n=$((n+1));echo " XSERVER = sis
> ";done) >>/opt/ltsp/i386/etc/lts.conf
>
> Calvin
>
> --
> Calvin Dodge
> Certified Linux Bigot (tm)
> http://www.caldodge.fpcc.net
>
>
More information about the K12OSN
mailing list