ltsp-config8
Configure certain parts of an ltsp server
Usage
ltsp-config TOOL
[OPTION]
Overview
Generates or updates configuration files for certain parts of an LTSP server, like lts.conf, the DHCP server, nbd-server etc.
Options
-
-d, --directory[=DIR] -
A directory to search for configuration templates, in addition to /usr/share/ltsp/examples.
-
-h, --help -
Displays the ltsp-config help message.
-
-l, --language[=LANG] -
Preferred language for configuration files. Support varies by distribution.
-
-o, --overwrite -
Overwrite existing configuration files.
-
--version -
Output version information and exit.
-
-q, --quiet -
Do not issue overwrite warnings
Tools:
- dnsmasq
-
Configure dnsmasq.
-
--enable-dns -
Also enable DNS in dnsmasq, not just DHCP/TFTP.
-
--no-proxy-dhcp -
Don't enable proxyDHCP mode for detected subnets.
- isc-dhcp-server
-
Configure isc-dhcp-server.
- lts.conf
-
Create a sample lts.conf.
- nbd-server
-
Configure nbd-server.
- nfs
-
Configure nfs exports.
Files
/etc/ltsp/<tool>.conf: Upon execution the tool will read a configuration file to override built-in defaults.
Values are NAME="VALUE" pairs, with # representing commented lines. most commandline options have an equivalent. an example Debian based system with an alternate base location, architecture, and distribution:
# set alternate default location for ltsp chroot (--base)
BASE="/srv/ltsp"
# build an amd64 chroot by default (--arch)
ARCH="amd64"
# build a Debian sid environment (--dist)
DIST="sid"
/etc/ltsp/ltsp-server.conf: Each LTSP server tool will read a generic configuration file. This file is typically used for setting BASE, TFTP_DIRS and TFTP_BOOT_DIR. These settings are overwritten by those set in specific tool configs.
History
- Debian 10 (Buster): the text shown here
- Debian 9 (Stretch)
- Debian 8 (Jessie)
- Debian 7 (Wheezy)
--enable-dns since Debian 10 (Buster);
--quiet since Debian 9 (Stretch);
--version since Debian 8 (Jessie);
-q since Debian 9 (Stretch).