Discussion:
[Ltsp-discuss] /etc/ltsp/update-kernels.conf ignored?
Craig Cook
2016-03-26 16:49:44 UTC
Permalink
Ubuntu 15.10 running 5.5.5~r2703+p1238+201512091628~ubuntu15.10.1 from this ppa:
http://ppa.launchpad.net/ts.sch.gr/ppa/ubuntu


/var/lib/tftpboot/ltsp/amd64/pxelinux.cfg/default shows this:

# This file is regenerated when update-kernels runs.
# Do not edit, see /etc/ltsp/update-kernels.conf instead.

That file was not provided. I created it and put this in:


# Default commandline arguments common to all boot methods
CMDLINE_LINUX_DEFAULT="init=/sbin/init-ltsp"


When I run ltsp-update-image that seems to be ignored. I get entries like this:

label ltsp-NBD
menu label LTSP, using NBD
kernel vmlinuz-4.2.0-34-generic
append ro initrd=initrd.img-4.2.0-34-generic init=/sbin/init-ltsp quiet splash root=/dev/nbd0
ipappend 2

If I try this command I get an error:

ltsp-update-image --cleanup /

/usr/share/ltsp/ltsp-cleanup does not exist, cannot cleanup the chroot


Is my package broken?


Did I miss setting something?

Thanks

Craig

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&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
Vagrant Cascadian
2016-03-26 17:11:48 UTC
Permalink
Post by Craig Cook
http://ppa.launchpad.net/ts.sch.gr/ppa/ubuntu
# This file is regenerated when update-kernels runs.
# Do not edit, see /etc/ltsp/update-kernels.conf instead.
The file is shipped with the ltsp-client-core package, which is
typically installed in the chroot. So you would likely find this file in
/opt/ltsp/amd64/etc/ltsp/update-kernels.conf. You may also need to
manually regenerate the pxelinux files and NBD image after editing it:

ltsp-chroot /usr/share/ltsp/update-kernels
ltsp-update-image
Post by Craig Cook
ltsp-update-image --cleanup /
/usr/share/ltsp/ltsp-cleanup does not exist, cannot cleanup the chroot
The above is typically used with the LTSP-PNP method:

https://help.ubuntu.com/community/UbuntuLTSP/ltsp-pnp

The big difference is that the ltsp-client* package are installed on the
server itself, and there is no chroot, and the
/opt/ltsp/images/amd64.img is generated from the server installation.

In general, I'd recommend the chrootless method from LTSP-PNP, as it's
much simpler to manage.


live well,
vagrant

Loading...