[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] Create the SquashFS image by default for LTSP chroots

Wolfgang Schweer (@schweer-guest) gitlab at salsa.debian.org
Mon Nov 15 22:22:44 GMT 2021



Wolfgang Schweer pushed to branch master at Debian Edu / debian-edu-config


Commits:
84e2e235 by Wolfgang Schweer at 2021-11-15T23:20:26+01:00
Create the SquashFS image by default for LTSP chroots

  sbin/debian-edu-ltsp-install: Adjust option setting accordingly
  share/man/man8/debian-edu-ltsp-install.8: Update and improve content

  (As a benefit, this change would imply a smaller debdiff for bullseye-pu with
  less files involved.)

Signed-off-by: Wolfgang Schweer <wschweer at arcor.de>

- - - - -


3 changed files:

- debian/changelog
- sbin/debian-edu-ltsp-install
- share/man/man8/debian-edu-ltsp-install.8


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+debian-edu-config (2.12.14) UNRELEASED; urgency=medium
+
+  * Create the SquashFS image by default for LTSP chroots:
+    - sbin/debian-edu-ltsp-install: Adjust option setting accordingly.
+    - share/man/man8/debian-edu-ltsp-install.8: Update and improve content.
+
+ -- Wolfgang Schweer <wschweer at arcor.de>  Mon, 15 Nov 2021 22:55:34 +0100
+
 debian-edu-config (2.12.13) unstable; urgency=medium
 
   [ Wolfgang Schweer ]


=====================================
sbin/debian-edu-ltsp-install
=====================================
@@ -48,7 +48,7 @@ workstations and thin clients.
 
 --dlw        used to create a diskless workstation LTSP chroot (root fs via NFS), default is no.
 
---img        takes effect for LTSP diskless workstation and X2Go thin client chroot setup, default is no.
+--img        takes effect for LTSP diskless workstation and X2Go thin client chroot setup, default is yes.
 
 --desktop    takes effect for LTSP diskless workstation chroot setup, default is xfce.
              Other values: cinnamon, gnome, kde, lxde, lxqt, mate.
@@ -69,11 +69,11 @@ Example 3: 'debian-edu-ltsp-install --arch i386 --thin_type bare' creates additi
 
 Example 4: 'debian-edu-ltsp-install --diskless_workstation yes' updates the diskless workstation SquashFS image.
 
-Example 5: 'debian-edu-ltsp-install --dlw yes' creates a diskless workstation LTSP chroot.
+Example 5: 'debian-edu-ltsp-install --dlw yes --img no' creates a diskless workstation LTSP chroot.
             Please note that about 15 GiB of additional disk space is needed. In the default case, run the commands
             'lvresize -L+15G /dev/vg_system/srv+ltsp' and 'resize2fs /dev/vg_system/srv+ltsp'.
 
-Example 6: 'debian-edu-ltsp-install --dlw yes --img yes' creates diskless workstation LTSP chroot and
+Example 6: 'debian-edu-ltsp-install --dlw yes' creates diskless workstation LTSP chroot and
            the related SquashFS image. Another 5 GiB more additional disk space is needed.
 
 This script applies to a system with two NICs on the internal backbone network.
@@ -98,7 +98,7 @@ dns_server="10.0.2.2"
 diskless_workstation="no"
 thin_type=""
 dlw="no"
-img="no"
+img="yes"
 desktop="xfce"
 
 while [ $# -gt 0 ] ; do


=====================================
share/man/man8/debian-edu-ltsp-install.8
=====================================
@@ -32,7 +32,7 @@ defaults to no if the option is omitted
 used to create a diskless workstation LTSP chroot (root fs via NFS), default is no
 .TP
 \fB\--img\ <yes|no>\fR
-takes effect for LTSP diskless workstation and X2Go thin client chroot setup, default is no
+takes effect for LTSP diskless workstation and X2Go thin client chroot setup, default is yes
 .TP
 \fB\--desktop\<xfce|cinnamon|gnome|kde|lxde|lxqt|mate|none> \fR
 takes effect for LTSP diskless workstation chroot setup, default is xfce
@@ -49,11 +49,11 @@ takes effect for LTSP diskless workstation chroot setup, default is xfce
 .TQ
        desktop: x2gothinclient running in minidesktop mode
 
-.SH EXAMPLE
+.SH EXAMPLES
 .TP
 .B debian-edu-ltsp-install --diskless_workstation yes
 .TQ
-creates diskless workstation support (SquashFS image).
+creates diskless workstation support (SquashFS image from server file system).
 .TP
 .B debian-edu-ltsp-install --arch amd64 --diskless_workstation yes --thin_type bare
 .TQ
@@ -67,16 +67,16 @@ creates additional 32-bit thin client support.
 .TQ
 updates the diskless workstation SquashFS image.
 .TP
-.B debian-edu-ltsp-install --dlw yes
+.B debian-edu-ltsp-install --dlw yes --img no
 .TQ
 creates a diskless workstation LTSP chroot. About 15 GiB additional disk space is needed.
 .TQ
 In the default case, run the commands
-.B lvresize --L+15G /dev/vg_system/srv+ltsp
+.B lvresize -L+15G /dev/vg_system/srv+ltsp
 and
 .B resize2fs /dev/vg_system/srv+ltsp
 .TP
-.B debian-edu-ltsp-install --dlw yes --img yes
+.B debian-edu-ltsp-install --dlw yes
 .TQ
 creates a diskless workstation LTSP chroot and the related SquashFS image. Another 5 GiB more additional disk space is needed.
 



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

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/84e2e235567f8bb36dc214795422a80e5ab88707
You're receiving this email because of your account on salsa.debian.org.


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


More information about the debian-edu-commits mailing list