LTSP-INITRD(8) | LTSP Manual | LTSP-INITRD(8) |
ltsp initrd - create the ltsp.img initrd add-on
ltsp [ltsp-options] initrd
Create a secondary initrd in /srv/tftp/ltsp/ltsp.img, that contains the LTSP client code from /usr/share/ltsp/{client,common} and everything under /etc/ltsp, including the ltsp.conf settings file. Additionally it contains the server users and groups lists (passwd/group) and public SSH keys. LTSP clients receive this initrd in addition to their usual one.
This means that whenever you add new users or edit ltsp.conf(5), you need to run ltsp initrd to update ltsp.img, and reboot the clients.
It also means that you can very easily put template xorg.conf or sshfs or other files in /etc/ltsp, and have them on the clients in seconds, without having to run ltsp image.
See the ltsp(8) man page for ltsp-options.
Most live CDs do not contain sshfs, so by default you can only use NFS home with them. But sshfs is a small binary without many dependencies, so you may usually provide it to the clients if you include it to ltsp.img:
mkdir -p /etc/ltsp/bin cp /usr/bin/sshfs /etc/ltsp/bin/sshfs-$(uname -m) ltsp initrd
You can even provide multiple sshfs versions for different architectures. LTSP contains code to automatically use those sshfs binaries if it can't find the /usr/bin/sshfs one.
Copyright 2019-2022 the LTSP team, see AUTHORS.
ltsp(8), ltsp.conf(5), ltsp-dnsmasq(8), ltsp-image(8), ltsp-info(8), ltsp-ipxe(8), ltsp-kernel(8), ltsp-nfs(8), ltsp-remoteapps(8)
Online documentation is available on https://ltsp.org
2023-08-19 | LTSP 23.02-1+deb12u1 |