diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-01-05 22:45:56 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-01-05 22:45:56 +0100 |
commit | 3ebfaf3a29e8adb06d5a7773924a6cebc8ef5c05 (patch) | |
tree | 1f78b0872ab0f0b0ed35ce3edaa554a56444e49b | |
parent | 94464c8d14184630abf83d6aa51efe240c3ce6c9 (diff) | |
download | itzks-systems-3ebfaf3a29e8adb06d5a7773924a6cebc8ef5c05.tar.gz itzks-systems-3ebfaf3a29e8adb06d5a7773924a6cebc8ef5c05.tar.bz2 itzks-systems-3ebfaf3a29e8adb06d5a7773924a6cebc8ef5c05.zip |
etc/ltsp/: Add good configuration for a Diskless Workstation Server's LTSP setup.
-rw-r--r-- | etc/ltsp/image-local.excludes | 0 | ||||
-rw-r--r-- | etc/ltsp/ltsp.conf.in | 41 |
2 files changed, 41 insertions, 0 deletions
diff --git a/etc/ltsp/image-local.excludes b/etc/ltsp/image-local.excludes new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/etc/ltsp/image-local.excludes diff --git a/etc/ltsp/ltsp.conf.in b/etc/ltsp/ltsp.conf.in new file mode 100644 index 0000000..0e00294 --- /dev/null +++ b/etc/ltsp/ltsp.conf.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/.ssh/*" + +[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 |