Hi,

It looks like after some research I found the solution, at least for
Ubuntu. I am writing this in Firefox running on Ubuntu VM while LTSP
client's kernel and initrd were loaded from the host. Also Ubuntu VM
provides nbd root and swap.

The clue was found here:
http://www.mail-archive.com/[email protected]/msg902704.html
by accidental googling.

There is a script file in client's /scripts directory, ltsp_nbd. It is
responsible for running ipconfig, parsing its output, and running
nbd-client. The script also checks two shell variables: nbdroot and
nbdswap. These variables are (supposedly) set by /init from kernel
parameters line. If these variables are not set, server IP is obtained
from ipconfig output, that is, DHCP response. Otherwise these two
variables take over ipconfig results.

So, in the pxelinux menu I specified:

append .... nbdroot=<vm ip>:2000 nbdswap=<vm ip>:9572

where <vm ip> != <host ip>

and it works for me.

And thus, if I ever install another instance of LTSP in another VM, I
can boot my terminal against desired VM just by specifying proper
parameters in the pxelinux menu which displays first anyway.

-- 
Dimitry Golubovsky

Anywhere on the Web

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_____________________________________________________________________
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