Man page - ltsp-initrd(8)

Packages contains this manual

Manual

LTSP-INITRD

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
COPYRIGHT
SEE ALSO

NAME

ltsp initrd - create the ltsp.img initrd add-on

SYNOPSIS

ltsp [ ltsp-options ] initrd

DESCRIPTION

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 .

OPTIONS

See the ltsp(8) man page for ltsp-options .

EXAMPLES

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

Copyright 2019-2022 the LTSP team, see AUTHORS.

SEE ALSO

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