[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] share/debian-edu-config/tools/run-at-firstboot: Fix indentation in LTSP image...

Mike Gabriel (@sunweaver) gitlab at salsa.debian.org
Sat Nov 7 22:30:52 GMT 2026



Mike Gabriel pushed to branch master at Debian Edu / debian-edu-config


Commits:
a4398109 by Mike Gabriel at 2026-11-07T23:30:43+01:00
share/debian-edu-config/tools/run-at-firstboot: Fix indentation in LTSP image creation code block. Make script more readable.

- - - - -


1 changed file:

- share/debian-edu-config/tools/run-at-firstboot


Changes:

=====================================
share/debian-edu-config/tools/run-at-firstboot
=====================================
@@ -74,18 +74,18 @@ if ! is_ltsp_client; then
 	# If this runs on a combi server (Main-Server + LTSP-Server), create
 	# Diskless Workstation chroot from scratch as clean environment.
 	if echo "$PROFILE" | grep -Eq 'Main-Server' && \
-		echo "$PROFILE" | grep -Eq 'LTSP-Server'; then
-			if [ ! -d /srv/ltsp/dlw ]; then
-				/usr/sbin/debian-edu-ltsp-install --dlw yes
-			fi
+	   echo "$PROFILE" | grep -Eq 'LTSP-Server'; then
+		if [ ! -d /srv/ltsp/dlw ]; then
+			/usr/sbin/debian-edu-ltsp-install --dlw yes
+		fi
 	# else if this runs on a pure LTSP-Server (no Main-Server role), then
 	# let's use the file system of the LTSP-Server and generate the LTSP
 	# image directly from it (faster!).
 	elif echo "$PROFILE" | grep -Eqv 'Main-Server' && \
-		echo "$PROFILE" | grep -Eq  'LTSP-Server'; then
-			if [ ! -f /srv/ltsp/images/$ltspimg ] ; then
-					/usr/sbin/debian-edu-ltsp-install --diskless_workstation yes
-			fi
+	     echo "$PROFILE" | grep -Eq  'LTSP-Server'; then
+		if [ ! -f /srv/ltsp/images/$ltspimg ] ; then
+			/usr/sbin/debian-edu-ltsp-install --diskless_workstation yes
+		fi
 	fi
 fi
 



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/a439810902c19af10ac1e88e62e4a7c4eb3944d0

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/a439810902c19af10ac1e88e62e4a7c4eb3944d0
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20261107/ecc18c27/attachment-0001.htm>


More information about the debian-edu-commits mailing list