Just so I'm clear.


First attempt:

I reverted /usr/share/ltsp/update-kernels to the original file containing

CMDLINE_NBD=${CMDLINE_NBD:-"root=/dev/nbd0"}

Modified /etc/ltsp/update-kernels.conf to contain (my primary interface is br0)

CMDLINE_NBD=${CMDLINE_NBD:-"root=/dev/nbd0 nbdroot=`ifconfig br0|grep "inet 
"|awk '{print $2}'|awk -F'addr:' '{print $2}'`:/opt/ltsp/i386"}

/var/lib/tftpboot/ltsp/i386/pxeconfig.cfg/ltsp/i386/default contained the 
default settings.

Ran ltsp-update-kernels, but /var/lib/tftpboot/ltsp/i386/pxeconfig.cfg/default 
is unchanged:

append ro initrd=initrd.img-3.16.0-4-686-pae init=/sbin/init-ltsp quiet 
root=/dev/nbd0



Second attempt:

I changed /etc/ltsp/update-kernels.conf to contain the default setting

CMDLINE_NBD="root=/dev/nbd0"

Modified /usr/share/ltsp/update-kernels to contain

CMDLINE_NBD=${CMDLINE_NBD:-"root=/dev/nbd0 nbdroot=`ifconfig br0|grep "inet 
"|awk '{print $2}'|awk -F'addr:' '{print $2}'`:/opt/ltsp/i386"}

/var/lib/tftpboot/ltsp/i386/pxeconfig.cfg/ltsp/i386/default contained the 
default settings.

Ran ltsp-update-kernels and now 
/var/lib/tftpboot/ltsp/i386/pxeconfig.cfg/ltsp/i386/default contains the new 
option:

append ro initrd=initrd.img-3.16.0-4-686-pae init=/sbin/init-ltsp quiet 
root=/dev/nbd0 nbdroot=xxx.xxx.xxx.xxx:/opt/ltsp/i386



------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_____________________________________________________________________
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