[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] 15 commits: Remove LTSP5 related tool sbin/debian-edu-ltsp

Wolfgang Schweer gitlab at salsa.debian.org
Fri Dec 4 22:54:14 GMT 2020



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


Commits:
5d06ec27 by Wolfgang Schweer at 2020-12-04T18:10:44+01:00
Remove LTSP5 related tool sbin/debian-edu-ltsp

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

- - - - -
c5c5c07a by Wolfgang Schweer at 2020-12-04T18:12:55+01:00
Add new tool sbin/debian-edu-ltsp-install

This is suited for the re-written LTSP, it's an improved copy of the up to now
used script 'share/debian-edu-config/tools/edu-ltsp-install' (to be removed).

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

- - - - -
9f058960 by Wolfgang Schweer at 2020-12-04T18:18:59+01:00
Remove share/debian-edu-config/tools/edu-ltsp-install

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

- - - - -
fd3de591 by Wolfgang Schweer at 2020-12-04T18:19:59+01:00
Adjust share/debian-edu-config/d-i/finish-install to reflect the changed tool

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

- - - - -
d54ef0b4 by Wolfgang Schweer at 2020-12-04T18:21:30+01:00
Also adjust share/debian-edu-config/tools/run-at-firstboot

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

- - - - -
1512c312 by Wolfgang Schweer at 2020-12-04T21:24:04+01:00
Add man page share/man/man8/debian-edu-ltsp-install.8

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

- - - - -
2b8c22ce by Wolfgang Schweer at 2020-12-04T21:30:01+01:00
Adjust debian/debian-edu-config.lintian-overrides to match the relocated LTSP tool

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

- - - - -
7749f6e1 by Wolfgang Schweer at 2020-12-04T21:31:41+01:00
Adjust Makefile accordingly after replacing old with new LTSP tool

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

- - - - -
6d9714be by Wolfgang Schweer at 2020-12-04T21:53:50+01:00
Add entries to debian/changelog for LTSP related commits

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

- - - - -
778c5efd by Wolfgang Schweer at 2020-12-04T22:04:13+01:00
Adjust etc/dovecot/local.conf to match a recent Dovecot change

Now the IMAP server name needs to be set (instead of the hostname of the system
the service is running on) for the user's Kerberos ticket to be accepted.

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

- - - - -
8e3ab5e2 by Wolfgang Schweer at 2020-12-04T22:07:26+01:00
Add share/man/man8/debian-edu-fsautoresize.8 as improved replacement for generated one

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

- - - - -
a069d31c by Wolfgang Schweer at 2020-12-04T22:14:39+01:00
Add various man pages

share/man/man8/debian-edu-fsautoresize.8
share/man/man8/debian-edu-ldapserver.8
share/man/man8/debian-edu-pxeinstall.8
share/man/man8/debian-edu-sitesummary2ldapdhcp.8
share/man/man8/debian-edu-update-netblock.8
share/man/man8/ldap-debian-edu-install.8
share/man/man8/ldap2netgroup.8
share/man/man8/update-hostname-from-ip.8

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

- - - - -
42ef00a0 by Wolfgang Schweer at 2020-12-04T22:30:08+01:00
Move debian-edu-ldapserver man page from section 8 to section 1

Thanks Lintian.

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

- - - - -
f222ab7f by Wolfgang Schweer at 2020-12-04T23:41:59+01:00
Move some more man pages from section 8 to section 1

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

- - - - -
7f2c2372 by Wolfgang Schweer at 2020-12-04T23:50:13+01:00
Fix typo from years ago in Makefile to get LDAP related man pages installed

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

- - - - -


18 changed files:

- Makefile
- debian/changelog
- debian/debian-edu-config.lintian-overrides
- debian/rules
- etc/dovecot/local.conf
- − sbin/debian-edu-ltsp
- share/debian-edu-config/tools/edu-ltsp-install → sbin/debian-edu-ltsp-install
- share/debian-edu-config/d-i/finish-install
- share/debian-edu-config/tools/run-at-firstboot
- + share/man/man1/debian-edu-ldapserver.1
- + share/man/man1/ldap-debian-edu-install.1
- + share/man/man1/ldap2netgroup.1
- + share/man/man1/sitesummary2ldapdhcp.1
- + share/man/man8/debian-edu-fsautoresize.8
- + share/man/man8/debian-edu-ltsp-install.8
- + share/man/man8/debian-edu-pxeinstall.8
- + share/man/man8/debian-edu-update-netblock.8
- + share/man/man8/update-hostname-from-ip.8


Changes:

=====================================
Makefile
=====================================
@@ -5,7 +5,7 @@ PROGS = \
 	update-ini-file
 
 SPROGS = debian-edu-fsautoresize \
-	debian-edu-ltsp \
+	debian-edu-ltsp-install \
 	debian-edu-pxeinstall \
 	debian-edu-restart-services \
 	debian-edu-test-install \
@@ -267,7 +267,6 @@ install: install-testsuite
 		share/debian-edu-config/tools/cups-queue-autoreenable \
 		share/debian-edu-config/tools/setup-cfengine3 \
 		share/debian-edu-config/tools/debian-edu-bless \
-		share/debian-edu-config/tools/edu-ltsp-install\
 		share/debian-edu-config/tools/get-default-homepage \
 		share/debian-edu-config/tools/gosa-create \
 		share/debian-edu-config/tools/gosa-create-host \
@@ -360,7 +359,7 @@ install: install-testsuite
 		$(INSTALL) ldap-tools/$$program $(DESTDIR)$(bindir)/$$program; \
 		if [ -e "share/man/man1/$$program.1" ]; \
 		then \
-		$(INSTALL_DATA) "share/man/man1/$$program.1" $(DESTDIR)$(mandir)/man1/$$sprog.1 ; \
+		$(INSTALL_DATA) "share/man/man1/$$program.1" $(DESTDIR)$(mandir)/man1/$$program.1 ; \
 		fi \
 	done
 	set -e ; for schema in $(SCHEMAS) ; do \


=====================================
debian/changelog
=====================================
@@ -1,3 +1,33 @@
+debian-edu-config (2.11.38) UNRELEASED; urgency=medium
+
+  * Improve LTSP related setup and management framework. (Closes: #969935).
+    - Remove LTSP5 related tool sbin/debian-edu-ltsp.
+    - Move share/debian-edu-config/tools/edu-ltsp-install to
+      sbin/debian-edu-ltsp-install as tool for the re-written LTSP and improve
+      it further:
+      + Add example how to support 32-bit thin client.
+      + Extend Firefox ESR configuration for the thin client 'desktop' variant.
+      + Care for iPXE menu completion after adding additional chroots.
+    - Add man page share/man/man8/debian-edu-ltsp-install.8.
+    - Adjust share/debian-edu-config/d-i/finish-install, Makefile,
+      share/debian-edu-config/tools/run-at-firstboot and
+      debian/debian-edu-config.lintian-overrides to reflect the changes.
+  * Adjust etc/dovecot/local.conf to match a recent Dovecot change. Now the IMAP
+    server name needs to be set (instead of the hostname of the system the
+    service is running on) for the Kerberos ticket to be accepted.
+  * Add various man pages:
+    - share/man/man8/debian-edu-fsautoresize.8
+    - share/man/man1/debian-edu-ldapserver.1
+    - share/man/man8/debian-edu-pxeinstall.8
+    - share/man/man8/debian-edu-update-netblock.8
+    - share/man/man1/ldap-debian-edu-install.1
+    - share/man/man1/ldap2netgroup.1
+    - share/man/man1/sitesummary2ldapdhcp.1
+    - share/man/man8/update-hostname-from-ip.8
+  * Makefile: Fix typo from years ago to get LDAP related man pages installed.
+
+ -- Wolfgang Schweer <wschweer at arcor.de>  Fri, 04 Dec 2020 21:33:02 +0100
+
 debian-edu-config (2.11.37) unstable; urgency=medium
 
   [ Wolfgang Schweer ]


=====================================
debian/debian-edu-config.lintian-overrides
=====================================
@@ -9,4 +9,4 @@ debian-edu-config binary: debconf-is-not-a-registry usr/share/debian-edu-config/
 debian-edu-config binary: debconf-is-not-a-registry usr/share/debian-edu-config/tools/kerberos-kdc-init
 debian-edu-config binary: debconf-is-not-a-registry usr/share/debian-edu-config/tools/edu-icinga-setup
 debian-edu-config binary: remove-of-unknown-diversion usr/bin/gtick postrm:18
-debian-edu-config binary: uses-dpkg-database-directly usr/share/debian-edu-config/tools/edu-ltsp-install
+debian-edu-config binary: uses-dpkg-database-directly usr/sbin/debian-edu-ltsp-install


=====================================
debian/rules
=====================================
@@ -19,10 +19,6 @@ override_dh_installinit:
 
 override_dh_installman:
 	dh_installman
-	help2man -s 8 -N -n "debian-edu-fsautofssize - automatically resize filesystems" \
-		--help-option="-h" \
-		--no-discard-stderr debian/debian-edu-config/usr/sbin/debian-edu-fsautoresize \
-		> debian/debian-edu-config/usr/share/man/man8/debian-edu-fsautoresize.8
 	help2man -N -n "ldap-add-host-to-netgroup - Adds a host as a member in the given netgroup" \
 		--help-option="-h" \
 		--no-discard-stderr debian/debian-edu-config/usr/bin/ldap-add-host-to-netgroup \


=====================================
etc/dovecot/local.conf
=====================================
@@ -3,6 +3,7 @@
 
 auth_krb5_keytab = /etc/krb5.keytab.imap
 auth_mechanisms = gssapi
+auth_gssapi_hostname = postoffice.intern
 mail_location = maildir:~/Maildir:INBOX=/var/mail/%u
 passdb {
   args = uid=uid home=homeDirectory


=====================================
sbin/debian-edu-ltsp deleted
=====================================
@@ -1,89 +0,0 @@
-#!/bin/sh
-#
-# Set up LTSP environment for Debian Edu
-#
-# Author: Petter Reinholdtsen
-# Date:   2005-10-08
-
-base=
-dist=
-
-while [ $# -gt 0 ] ; do
-  case "$1" in
-    --base) base="$2" ; shift ;;
-    --dist) dist="$2" ; shift ;;
-    --arch) arch="$2" ; shift ;;
-  esac
-  shift
-done
-
-if [ -z "$base" -a -z "$arch" ] ; then
-  case $(uname -m) in
-    ppc) ARCH=powerpc ;;
-    i*86) ARCH=i386 ;;
-    x86_64) ARCH=amd64 ;;
-    *) echo "Unknown Architecture, please fix the script $0"
-       exit 9
-       ;;
-  esac
-elif [ -n "$arch" ] ; then
-  ARCH="$arch"
-fi
-
-# Make the installation a bit more quiet when started from the command line
-# The locale is not setup in the thin client chroot (yet?)
-LC_ALL=C
-export LC_ALL
-
-test "$base" || base=/opt/ltsp
-test "$dist" || dist=$(lsb_release -sc)
-
-if [ -d $base/$ARCH ] ; then
-    echo "error: $base/$ARCH already exists."
-    echo "       Remove the chroot before running $0 again."
-    echo "       To install a chroot for a specific architecture,"
-    echo "       please use --arch <i386|amd64> as an option."
-    echo "       If you want to install in parallell with an old installation,"
-    echo "       use --base <new location> --arch <i386|amd64> as options."
-
-    exit 1
-fi
-
-# Check if server uses install or cd to install
-if apt-cache policy ltsp-client | grep -q "cdrom://" ; then
-  mirror=file:///media/cdrom
-  components="main"
-  securitymirror=""
-  extramirror=""
-else
-  mirror=http://deb.debian.org/debian
-  extramirror=""
-  securitymirror="http://security.debian.org/ $dist/updates main"
-  components="main"
-fi
-
-umounts=
-exit_handler() {
-    # Unmount if anything is mounted
-    for dir in $umounts ; do
-	info "Unmounting $dir"
-	umount $dir || true
-    done
-}
-trap exit_handler EXIT INT
-
-# Mount the CD ROM if needed
-case $mirror in
-    file:///cdrom)
-        mount /cdrom
-	umounts="/cdrom"
-	;;
-    file:///media/cdrom)
-        mount /media/cdrom
-	umounts="/media/cdrom"
-	;;
-    *)
-        ;;
-esac
-
-ltsp-build-client --eatmydata --accept-unsigned-packages --base $base --arch $ARCH --dist $dist


=====================================
share/debian-edu-config/tools/edu-ltsp-install → sbin/debian-edu-ltsp-install
=====================================
@@ -1,29 +1,18 @@
 #!/bin/bash
 #
-# Confugure a Debian Edu system with 'LTSP-Server' profile' for both diskless
-# workstations and thin clients (using X2Go).
+# Configure a Debian Edu system with 'LTSP-Server' profile' for both diskless
+# workstations and also thin clients (using X2Go).
 # The configuration below applies to a Debian Edu machine in the internal
 # backbone network with two NICs. This system needs to be registered w/ GOsa² in
 # case it isn't the main server (i.e. a 'combined' server).
 # Kerberized NFS is used (with krb5i as default), see:
 # https://wiki.debian.org/DebianEdu/Documentation/Bullseye/HowTo/Administration#Kerberized_NFS
-# The modified system provides a separate LTSP client network (192.168.67.0/24)
-# attached to eth1.
+# The modified system provides a separate LTSP client network attached to eth1.
 #
 # Author/Copyright:	Wolfgang Schweer <wschweer at arcor.de>
-# Licence:			GPL2+
-# first edited:		2019-11-21
-# last edited:		2020-06-17
-# 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
+# Licence:		GPL2+
+# first edited:	2019-11-21
+# last edited:	2020-12-02
 
 set -e
 
@@ -38,27 +27,29 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ] ; then
 
 Usage information:
 
-$0 --arch <amd64|i386> --dist <stable|testing|sid> --dns_server <10.0.2.2|dns server ip> --diskless_workstation <yes|no> --thin_type <bare|display|desktop>
+debian-edu-ltsp-install --arch <amd64|i386> --dist <stable|testing|sid> --dns_server <10.0.2.2|dns server ip> --diskless_workstation <yes|no> --thin_type <bare|display|desktop>
 
 Turn a Debian Edu workstation into an LTSP server for both diskless
 workstations and thin clients.
 
---arch takes effect for a thin client chroot setup, default value is the system
-  architecture one.
---dist takes effect for a thin client chroot setup, default value is the one the
-  LTSP server is running.
+--arch       takes effect for a thin client chroot setup, default value is the system architecture one.
+
+--dist       takes effect for a thin client chroot setup, default value is the one the LTSP server is running.
+
 --dns_server defaults to 10.0.2.2 if unset.
---diskless_workstation defaults to yes if unset.
---thin_type has no default value. These are available:
+
+--diskless_workstation defaults to yes if omitted.
+
+--thin_type  has no default value. These are available:
     bare:    preconfigured x2go client running via 'startx' as user 'thin' with sound and
              client side mass storage support.
     display: x2gothinclient running in display mode.
     desktop: x2gothinclient running in minidesktop mode.
 
-Example 1: '/path/to/edu-ltsp-install --arch amd64' creates diskless workstation support.
-Example 2: '/path/to/edu-ltsp-install --arch amd64 --dist bullseye --thin_type bare'
-           creates diskless workstation and thin client support; the LTSP client boot
-           defaults to diskless workstation.
+Example 1: 'debian-edu-ltsp-install --arch amd64' creates diskless workstation support.
+Example 2: 'debian-edu-ltsp-install --arch amd64 --dist bullseye --thin_type bare' creates diskless workstation and 64-bit thin client support.
+            LTSP client boot defaults to diskless workstation.
+Example 3: 'debian-edu-ltsp-install --arch i386 --diskless_workstation no --thin_type bare' creates additional 32-bit thin client support. 
 
 This script applies to a system with two NICs on the internal backbone network.
 
@@ -380,7 +371,19 @@ debootstrap --arch="$arch" --variant=minbase --include=linux-image-"$kernel_arch
       ]
     },
     "NewTabPage": false,
-    "OverrideFirstRunPage": ""
+    "OverrideFirstRunPage": "",
+    "SearchEngines": {
+      "Add": [
+        {
+          "IconURL": "https://duckduckgo.com/favicon.ico",
+          "Method": "POST",
+          "Name": "DuckDuckGo",
+          "SuggestURLTemplate": "https://duckduckgo.com/ac/?q={searchTerms}&type=list",
+          "URLTemplate": "https://duckduckgo.com/?q={searchTerms}"
+        }
+      ],
+      "Default": "DuckDuckGo"
+    }
   }
 }
 EOF
@@ -389,7 +392,7 @@ EOF
 	ltsp image /srv/ltsp/thin/"$thin_type"-"$arch"
 
 	# Remove chroot now that the image has been built (to save space)
-	#rm -rf /srv/ltsp/thin/"$thin_type"-"$arch"
+	rm -rf /srv/ltsp/thin/"$thin_type"-"$arch"
 
 	# Create a runtime user for x2go login terminal; configure autofs (USB storage support).
 	if [ "bare" == "$thin_type" ] ; then
@@ -477,7 +480,7 @@ iface eth0 inet static
 	dns-search intern
 
 iface eth1 inet static
-	address 192.168.0.254
+	address $ETH1_IP
 EOF
 	else
 	cat <<EOF > /etc/network/interfaces
@@ -509,3 +512,16 @@ ltsp nfs
 if [ ! -x /sbin/start-stop-daemon.REAL ] ; then
 	exportfs -rav
 fi
+
+# Add PXE installation related entries to iPXE menu.
+if ! grep -q main-server /srv/tftp/ltsp/ltsp.ipxe && \
+    [ -f /srv/tftp/debian-installer/amd64/linux ] ; then
+	echo "Modifying $tftpdir/ltsp/ltsp.ipxe"
+	sed -i '/^menu.*/ a item\
+item --gap                        Installation:\
+item --key a amd64                Install Debian Edu/amd64 (64-Bit)\
+item --key i i386                 Install Debian Edu/i386  (32-Bit)\
+item\
+' /srv/tftp/ltsp/ltsp.ipxe
+	cat /srv/tftp/debian-edu/install.cfg >>/srv/tftp/ltsp/ltsp.ipxe
+fi


=====================================
share/debian-edu-config/d-i/finish-install
=====================================
@@ -38,10 +38,10 @@ if echo $PROFILE | grep -q LTSP-Server ; then
 	in-target /bin/sh -c "modprobe squashfs"
 	in-target /bin/sh -c "modprobe loop"
 	in-target /bin/sh -c "modprobe overlay"
-	if in-target /bin/sh -c "/usr/share/debian-edu-config/tools/edu-ltsp-install --diskless_workstation no --thin_type bare" ; then
-		log "info: Running '/usr/share/debian-edu-config/tools/edu-ltsp-install' succeeded"
+	if in-target /bin/sh -c "/usr/sbin/debian-edu-ltsp-install --diskless_workstation no --thin_type bare" ; then
+		log "info: Running 'debian-edu-ltsp-install' succeeded"
 	else
-		log "error: '/usr/share/debian-edu-config/tools/edu-ltsp-install' failed"
+		log "error: 'debian-edu-ltsp-install' failed"
 	fi
 fi
 


=====================================
share/debian-edu-config/tools/run-at-firstboot
=====================================
@@ -61,7 +61,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/share/debian-edu-config/tools/edu-ltsp-install --dist $dist
+	/usr/sbin/debian-edu-ltsp-install --dist $dist
 fi
 
 # Update PXE setup on LTSP servers with proxy values set in environment


=====================================
share/man/man1/debian-edu-ldapserver.1
=====================================
@@ -0,0 +1,34 @@
+.TH DEBIAN-EDU-LDAPSERVER 1 "December 2020" "Debian Edu" "Debian Edu Admin Tools"
+
+.SH NAME
+debian-edu-ldap-server - find LDAP server and LDAP base
+
+.SH SYNOPSIS
+\fBdebian\-edu\-ldap\-server\fR [\fI-dfrk\fR] [\fI-b\fR\ [-s\ \fI<servername>\fR]]
+
+.SH DESCRIPTION
+Find LDAP server and ldap base. By default the LDAP server is located using SRV records, and if -b is used, the LDAP base is printed. If -b is not used, the LDAP server is used instead.
+
+.SH OPTIONS
+These are the options that can appear on the command line:
+.TP
+\fB\-d\fR
+enable debug output
+.TP
+\fB\-f\fR
+provide fallback values if dynamic detection fails
+.TP
+\fB\-r\fR
+print Kerberos realm name
+.TP
+\fB\-k\fR
+print Kerberos server name
+.TP
+\fB\-b\fR
+print LDAP base
+.TP
+\fB\-s\ <servername>\fR
+use this server when finding LDAP base.
+
+.SH AUTHORS
+Debian Edu Team, https://blends.debian.org/edu


=====================================
share/man/man1/ldap-debian-edu-install.1
=====================================
@@ -0,0 +1,18 @@
+.TH LDAP-DEBIAN-EDU-INSTALL 1 "December 2020" "Debian Edu" "Debian Edu Admin Tools"
+
+.SH NAME
+ldap-debian-edu-install - setup initial LDAP data base
+
+.SH SYNOPSIS
+.B ldap-debian-edu-install
+
+.SH DESCRIPTION
+This script is run during installation of the Debian Edu main server inside the
+Debian Installer.
+.TP
+.B Don't ever use this script manually!
+.TQ
+If you intend to re-create the LDAP data base, use the dedicated tool 'edu-ldap-from-scratch' located in the /usr/share/debian-edu-config/tools/ directory on the main server.
+
+.SH AUTHORS
+Debian Edu Team, https://blends.debian.org/edu


=====================================
share/man/man1/ldap2netgroup.1
=====================================
@@ -0,0 +1,15 @@
+.TH LDAP2NETGROUP 1 "December 2020" "Debian Edu" "Debian Edu Admin Tools"
+
+.SH NAME
+ldap2netgroup - export netgroups from LDAP to /etc/netgroup format
+
+.SH SYNOPSIS
+.B ldap2netgroup
+.RI [ LDAP\ server ]
+.RI [ LDAP\ base ]
+
+.SH DESCRIPTION
+Tool used by Debian Edu scripts to export netgroups from LDAP to /etc/netgroup format.
+
+.SH AUTHORS
+Debian Edu Team, https://blends.debian.org/edu


=====================================
share/man/man1/sitesummary2ldapdhcp.1
=====================================
@@ -0,0 +1,35 @@
+.TH SITESUMMARY2LDAPDHCP 1 "December 2020" "Debian Edu" "Debian Edu Admin Tools"
+
+.SH NAME
+sitesummary2ldapdhcp - update or add LDAP machine objects
+
+.SH SYNOPSIS
+.B sitesummary2ldapdhcp
+.RI [ -adiut ]
+.RB [\fB\s-1LDAP\ server\ FQDN\s0\fR]
+.RB [\fB\s-1LDAP\ base\s0\fR]
+
+.SH DESCRIPTION
+Update or add machine objects to LDAP based on Sitesummary information. Both the
+FQDN of the LDAP server and the base DN to use should be found automatically.
+
+.SH OPTIONS
+These are the options that can appear on the command line:
+.TP
+\fB\-a\fR
+add new hosts as well as update existing hosts
+.TP
+\fB\-d\fR
+enable debug output
+.TP
+\fB\-i\ ID\fR
+only handle host with the given sitesummary ID
+.TP
+\fB\-u\ FILTER\fR
+filter used to find the LDAP user for updating LDAP
+.TP
+\fB\-t\ TYPE\fR
+type of system(s) to add. TYPE can be: servers, workstations, terminals, netdevices or printers; defaults to workstations if omitted
+
+.SH AUTHORS
+Debian Edu Team, https://blends.debian.org/edu


=====================================
share/man/man8/debian-edu-fsautoresize.8
=====================================
@@ -0,0 +1,33 @@
+.TH DEBIAN-EDU-FSAUTORESIZE 8 "December 2020" "Debian Edu" "Debian Edu Admin Tools"
+
+.SH NAME
+debian-edu-fsautoresize - automatically resize filesystems
+
+.SH SYNOPSIS
+.B debian-edu-fsautoresize
+.RI [ -dvn ]
+
+.SH DESCRIPTION
+Resize full partitions based on configuration templates. The configuration is
+read from these files (first one is the existing default): 
+.TP
+/usr/share/debian-edu-config/fsautoresizetab
+.TQ
+/site/etc/fsautoresizetab
+.TQ
+/etc/fsautoresizetab
+
+.SH OPTIONS
+These are the options that can appear on the command line.
+.TP
+\fB\-d\fR
+run in the background and resize when partitions are full (experimental)
+.TP
+\fB\-v\fR
+verbose output
+.TP
+\fB\-n\fR
+disable dryrun, do the resizing
+
+.SH AUTHORS
+Debian Edu Team, https://blends.debian.org/edu


=====================================
share/man/man8/debian-edu-ltsp-install.8
=====================================
@@ -0,0 +1,59 @@
+.TH DEBIAN-EDU-LTSP-INSTALL 8 "December 2020" "Debian Edu" "Debian Edu Admin Tools"
+
+.SH NAME
+debian-edu-ltsp-install - setup, configure and manage LTSP chroot and NBD image
+
+.SH SYNOPSIS
+.B debian-edu-ltsp-install --arch <amd64|i386> --dist <stable|testing|sid> --dns_server <10.0.2.2|dns server ip> --diskless_workstation <yes|no> --thin_type <bare|display|desktop>
+
+.SH DESCRIPTION
+.TP
+Tool to configure a Debian Edu system with 'LTSP-Server' profile' for both diskless workstations and also thin clients (using X2Go). The configuration applies to a Debian Edu machine in the internal backbone network with two NICs. This system needs to be registered using GOsa² in case it isn't the main server (i.e. a 'combined' server).
+.TQ
+This script applies to a system with two NICs on the internal backbone network.
+
+.SH OPTIONS
+These are the options that can appear on the command line:
+.TP
+\fB\--arch\ <amd64|i386>\fR
+takes effect for a thin client chroot setup, default value is the system architecture one
+.TP
+\fB\--dist\ <stable|testing|sid>\fR
+takes effect for a thin client chroot setup, default value is the one the LTSP server is running
+.TP
+\fB\--dns_server\ <10.0.2.2|dns\ server\ ip>\fR
+defaults to 10.0.2.2 if option is omitted
+.TP
+\fB\--diskless_workstation\ <yes|no>\fR
+defaults to yes if option is omitted
+.TP
+\fB\--thin_type\ <bare|display|desktop>\fR
+.TP
+       no default value, these are available:
+.TQ
+       bare:    preconfigured x2go client running via 'startx' as user 'thin' with
+.TQ
+                sound and client side mass storage support
+.TQ
+       display: x2gothinclient running in display mode
+.TQ
+       desktop: x2gothinclient running in minidesktop mode
+
+.SH EXAMPLE
+.TP
+.B debian-edu-ltsp-install --arch amd64
+.TQ
+creates 64-bit diskless workstation support.
+.TP
+.B debian-edu-ltsp-install --arch amd64 --dist bullseye --thin_type bare
+.TQ 
+creates diskless workstation and 64-bit thin client support, the LTSP client
+.TQ
+boot defaults to diskless workstation.
+.TP
+.B debian-edu-ltsp-install --arch i386 --diskless_workstation no --thin_type bare
+.TQ 
+creates additional 32-bit thin client support
+
+.SH AUTHORS
+Debian Edu Team, https://blends.debian.org/edu


=====================================
share/man/man8/debian-edu-pxeinstall.8
=====================================
@@ -0,0 +1,20 @@
+.TH DEBIAN-EDU-PXEINSTALL 8 "December 2020" "Debian Edu" "Debian Edu Admin Tools"
+
+.SH NAME
+debian-edu-pxeinstall - create PXE installation framework for Debian Edu systems
+
+.SH SYNOPSIS
+.B debian-edu-pxeinstall
+
+.SH DESCRIPTION
+Create PXE installation framework for Debian Edu systems using a configuration
+template. The configuration is read from this file:
+.TQ
+/etc/debian-edu/www/debian-edu-install.dat
+.TP
+It can be overridden using a custom file with this name:
+.TQ
+/etc/debian-edu/www/debian-edu-install.dat.local
+
+.SH AUTHORS
+Debian Edu Team, https://blends.debian.org/edu


=====================================
share/man/man8/debian-edu-update-netblock.8
=====================================
@@ -0,0 +1,15 @@
+.TH DEBIAN-EDU-UPDATE-NETBLOCK 8 "December 2020" "Debian Edu" "Debian Edu Admin Tools"
+
+.SH NAME
+debian-edu-update-netblock - configure network limitations for the host
+
+.SH SYNOPSIS
+.B debian-edu-update-netblock
+.RI (auto|start|stop)
+
+.SH DESCRIPTION
+Enable or disable network filtering. Call with 'auto' to enable or disable based on host netgroup membership. Users that are member in
+the admin and nonetblk NIS netgroup avoid the blocking when it is enabled for the host.
+
+.SH AUTHORS
+Debian Edu Team, https://blends.debian.org/edu


=====================================
share/man/man8/update-hostname-from-ip.8
=====================================
@@ -0,0 +1,32 @@
+.TH UPDATE-HOSTNAME-FROM-IP 8 "December 2020" "Debian Edu" "Debian Edu Admin Tools"
+
+.SH NAME
+update-hostname-from-ip - set current hostname to match the IP address
+
+.SH SYNOPSIS
+.B update-hostname-from-ip
+.RI [ -mMInq ]
+
+.SH DESCRIPTION
+Set current hostname to match the IP address on eth0. This is useful when getting the IP address from DHCP.
+
+.SH COMMAND LINE OPTIONS
+These are the options that can appear on the command line:
+.TP
+\fB\-m\fR
+use MAC address
+.TP
+\fB\-M\ MAC\fR
+use this MAC address
+.TP
+\fB\-I\ IP\fR
+use this IP address
+.TP
+\fB\-n\fR
+print only
+.TP
+\fB\-q\fR
+quiet
+
+.SH AUTHORS
+Debian Edu Team, https://blends.debian.org/edu



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/compare/5cf7e4343583f78c5a05fc8f652a06712044b25b...7f2c2372b62a7aa83cb8734ae88e59c90019cd8a

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/compare/5cf7e4343583f78c5a05fc8f652a06712044b25b...7f2c2372b62a7aa83cb8734ae88e59c90019cd8a
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/20201204/8b0fb3ae/attachment-0001.html>


More information about the debian-edu-commits mailing list