[ Wolfgang Schweer, 2021-11-12 ]
> I noticed that a wrapper tool is also needed for the new LTSP 'ltsp
> initrd' command (which generates /srv/tftp/ltsp/ltsp.img for all use
> cases).
>
> The Debian Edu LTSP setup (with X2Go thin client support included) needs
> to use case specific LTSP initrds located in case related directories
> (as opposed to vanilla LTSP). Updating ltsp.img is eg. needed after the
> /etc/ltsp/ltsp.conf [clients] section has been modified. This is
> supposed to be the case for LTSP clients running in real world
> deployments.
>
> The tool is now available in Git [1] and should IMO also go into
> bullseye once tested.
The wrapper script is available in sid (and about to show up in
bookworm).
Testing all above changes for bullseye (modifications inside d-i)
revealed that the 'share/debian-edu-config/tools/run-at-firstboot' tool
needs to be adjusted to make sure the SquashFS image from the server's
filesystem is generated. The adjusted file is already used for bookworm
since some time:
diff --git a/share/debian-edu-config/tools/run-at-firstboot b/share/debian-edu-config/tools/run-at-firstboot
index 7e3bb335..fa31786d 100755
--- a/share/debian-edu-config/tools/run-at-firstboot
+++ b/share/debian-edu-config/tools/run-at-firstboot
@@ -64,7 +64,7 @@ fi
# needs to include the krb5.keytab file which isn't available at this time.
if echo "$PROFILE" | grep -Eq 'Main-Server.*LTSP-Server' && \
[ ! -f /srv/ltsp/images/$ltspimg ] ; then
- /usr/sbin/debian-edu-ltsp-install --dist $dist
+ /usr/sbin/debian-edu-ltsp-install --diskless_workstation yes
fi
# Update PXE setup on LTSP servers with proxy values set in environment
Wolfgang
Attachment:
signature.asc
Description: PGP signature