ltsp-config

From LTSPedia
Jump to: navigation, search

Running an LTSP server requires certain other tools like a DHCP or NBD server, with specific configurations. With ltsp-config you can generate or update these configuration files based on your current setup.

Usage

The ltsp-config command accepts several options to generate the files: dnsmasq, isc-dhcp-server, lts.conf and nbd-server. The first three should be run manually, the configuration of nbd-server is called automatically at the end of ltsp-update-image. For instance, to generate a dnsmasq config file do:

root@server #ltsp-config dnsmasq

Developer-24x24.png Extensions

Updating or generating a configuration file for a service, requires the service to be restarted. Because the various distro's use different methods for initializing service scripts, the function to call a service can be distro specific.

Example

/usr/share/ltsp/ltsp-config-functions
 # Gentoo-specific function overrides for ltsp-config
 
 service() {
    if [ -x /sbin/rc-service ]; then
        rc-service "$@"
    fi
 }
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox