Re: Localapps bug #348305

Asmo Koskinen <[email protected]> Sat, 11 Apr 2009 11:46:00 +0300
Newsgroups gmane.linux.terminal-server.devel
Message-ID <[email protected]>
Asmo Koskinen kirjoitti:

> David Van Assche kirjoitti:
> 
>> RCFILE_01=/path/to/script/in/chroot
> 
> Thank you, I will try that one.

It's done. This one is for server with one nic. This works also with two 
nics (forward & nat). I tested it, too.

1.

admin-ltsp5@ubuntu-ltsp5:~$ cat /opt/ltsp/i386/etc/init.d/chmod-resolv.sh
#! /bin/sh
chmod 644 /etc/resolv.conf

admin-ltsp5@ubuntu-ltsp5:~$

2.

admin-ltsp5@ubuntu-ltsp5:~$ cat /var/lib/tftpboot/ltsp/i386/lts.conf
#
SEARCH_DOMAIN = ubuntu-ltsp5
DNS_SERVER = 192.168.1.1
#
RCFILE_01=/etc/init.d/chmod-resolv.sh

admin-ltsp5@ubuntu-ltsp5:~$

3.

admin-ltsp5@ubuntu-ltsp5:~$ ssh root-Q0ErXNX1Rubdv/[email protected]
root-Q0ErXNX1Rubdv/[email protected]'s password:
root@ltsp200:~# ls -al /etc/resolv.conf
-rw-r--r-- 1 root root 43 2002-01-13 17:13 /etc/resolv.conf
root@ltsp200:~#

4.

ltsp-localapps works with Internet.

Best Regards Asmo Koskinen.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_____________________________________________________________________
Ltsp-developer mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help,   try #ltsp channel on irc.freenode.net