From 681cd4f50e74e16d39bf4939bf40570e0406ca07 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 6 Jan 2022 16:00:51 +0100 Subject: etc/ltsp: Rename (and move into our namespace): ltsp.conf.in -> ltsp.conf.itzks-systems-disklserver.in. --- etc/ltsp/ltsp.conf.in | 41 ------------------------- etc/ltsp/ltsp.conf.itzks-systems-disklserver.in | 41 +++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 41 deletions(-) delete mode 100644 etc/ltsp/ltsp.conf.in create mode 100644 etc/ltsp/ltsp.conf.itzks-systems-disklserver.in (limited to 'etc') diff --git a/etc/ltsp/ltsp.conf.in b/etc/ltsp/ltsp.conf.in deleted file mode 100644 index 5cb2466..0000000 --- a/etc/ltsp/ltsp.conf.in +++ /dev/null @@ -1,41 +0,0 @@ -[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 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 -- cgit v1.2.3