.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.5. .TH LTSP-UPDATE-IMAGE "8" "March 2015" "ltsp-update-image 5.5.4-4" "System Administration Utilities" .SH NAME ltsp-update-image \- generate an NBD image from an LTSP chroot .SH SYNOPSIS .B ltsp-update-image [\fI\,OPTION\/\fR] [\fI\,CHROOT\/\fR...] .SH DESCRIPTION Generates a compressed squashfs NBD image from an LTSP chroot and exports it with nbd\-server. Chroot can be a full path or a subdirectory of the LTSP base directory, and it defaults to the host architecture if unset. .SH OPTIONS .TP \fB\-b\fR, \fB\-\-base\fR[=\fI\,PATH\/\fR] The LTSP base directory Defaults to \fI\,/opt/ltsp\/\fP if unspecified. .TP \fB\-c\fR, \fB\-\-cleanup\fR Temporarily remove user accounts, logs, caches etc from the chroot before exporting the image. The chroot arch is required to be compatible with the server arch. .TP \fB\-e\fR, \fB\-\-exclude\fR[=\fI\,LIST\/\fR] List of dirs/files to exclude from the image. This is in addition to \fI\,/etc/ltsp/ltsp\-update\-image.excludes\/\fP. .TP \fB\-f\fR, \fB\-\-config\-nbd\fR Generate appropriate nbd\-server configuration files. It's automatically set if NFS isn't used or if other LTSP generated nbd\-server configuration files already exist. .TP \fB\-h\fR, \fB\-\-help\fR Displays the ltsp\-update\-image help message. .TP \fB\-m\fR, \fB\-\-no\-compress\fR Don't compress the generated image. .TP \fB\-n\fR, \fB\-\-no\-backup\fR Don't backup chroot.img to chroot.img.old. .TP \fB\-r\fR, \fB\-\-revert\fR Swap chroot.img with chroot.img.old and update kernels. .TP \fB\-\-version\fR Output version information and exit. .SH AVAILABILITY Part of the \fBltsp\fP package and the latest versions are available in source form from \fIhttps://launchpad.net/products/ltsp\fR. .SH FILES \fI/etc/ltsp/.conf\fR: 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" \fI/etc/ltsp/ltsp-server.conf\fR: 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. .SH AUTHOR Autogenerated from the script source code with \fBhelp2man\fP. Distributed under the terms of the GNU General Public License version 2 or any later version. .SH "REPORTING BUGS" Report bugs to \fIhttps://bugs.launchpad.net/ltsp\fR. .SH "SEE ALSO" \fBltsp\-build\-client\fP(8), \fBltsp\-update\-kernels\fP(8), \fBltsp\-update\-sshkeys\fP(8), \fBmksquashfs\fP(1), \fBnbd\-server\fP(1)