summaryrefslogtreecommitdiff
path: root/etc/ltsp/ltsp.conf.itzks-systems-disklserver.in
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-06 16:00:51 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-06 16:00:51 +0100
commit681cd4f50e74e16d39bf4939bf40570e0406ca07 (patch)
tree80f04aee18d05cfc25424a59fbd5558d9869f368 /etc/ltsp/ltsp.conf.itzks-systems-disklserver.in
parent55f0b5fe7d263f113f5d0aa3d8c04266cc340180 (diff)
downloaditzks-systems-681cd4f50e74e16d39bf4939bf40570e0406ca07.tar.gz
itzks-systems-681cd4f50e74e16d39bf4939bf40570e0406ca07.tar.bz2
itzks-systems-681cd4f50e74e16d39bf4939bf40570e0406ca07.zip
etc/ltsp: Rename (and move into our namespace): ltsp.conf.in -> ltsp.conf.itzks-systems-disklserver.in.
Diffstat (limited to 'etc/ltsp/ltsp.conf.itzks-systems-disklserver.in')
-rw-r--r--etc/ltsp/ltsp.conf.itzks-systems-disklserver.in41
1 files changed, 41 insertions, 0 deletions
diff --git a/etc/ltsp/ltsp.conf.itzks-systems-disklserver.in b/etc/ltsp/ltsp.conf.itzks-systems-disklserver.in
new file mode 100644
index 0000000..5cb2466
--- /dev/null
+++ b/etc/ltsp/ltsp.conf.itzks-systems-disklserver.in
@@ -0,0 +1,41 @@
+[server]
+
+# Debian Edu 10 pretty name
+IPXE_AMD64_BUSTER_IMG="Debian Edu 10 Diskless Workstation (SquashFS Image)"
+IPXE_AMD64_BUSTER="Debian Edu 10 Diskless Workstation (NFS rootfs)"
+
+# Debian Edu 11 pretty name
+IPXE_AMD64_BULLSEYE_IMG="Debian Edu 11 Diskless Workstation (SquashFS Image)"
+IPXE_AMD64_BULLSEYE="Debian Edu 11 Diskless Workstation (NFS rootfs)"
+
+# Debian Edu 12 (aka testing/unstable) pretty name
+IPXE_AMD64_BOOKWORM_IMG="Debian Edu testing/unstable Diskless Workstation (SquashFS Image)"
+IPXE_AMD64_BOOKWORM="Debian Edu testing/unstable Diskless Workstation (NFS rootfs)"
+
+# Debian Edu specific
+DNS_SERVER=10.0.2.2
+SEARCH_DOMAIN=intern
+
+KERNEL_PARAMETERS="quiet splash"
+
+ADD_IMAGE_EXCLUDES="/etc/ltsp/image-local.excludes"
+OMIT_IMAGE_EXCLUDES="root/.*"
+
+[clients]
+
+HOSTS_1="10.0.2.2 tjener.intern tjener"
+HOSTS_2="10.0.2.9 disklserver.intern disklserver"
+
+LIGHTDM_CONF="greeter-hide-users=true"
+
+POST_INIT_USE_FQDN="sed -i '/10.0.2.2/ s/server/tjener.intern tjener/' /etc/hosts"
+POST_INIT_SITESUMMARY="sed -i 's/main-server/ltsp-client/' /etc/sitesummary/hostclass"
+MASK_SYSTEM_SERVICES="apache2 etckeeper icinga2 nmbd smbd systemd-journald isc-dhcp-server"
+
+# Allow local root logins by setting a password hash for the root user.
+# The hash contains $, making it hard to escape in POST_INIT_x="sed ...".
+# So put sed in a section and call it at POST_INIT like this:
+POST_INIT_SET_ROOT_HASH="section_set_root_hash"
+
+[set_root_hash]
+sed 's|^root:[^:]*:|root:@rootpw@:|' -i /etc/shadow