ltsp-update-image --version (return code: 0)
ltsp-update-image 5.5.9-2
ltsp-update-image --help (return code: 0)
Usage: /usr/sbin/ltsp-update-image [OPTION] [CHROOT...]
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.
Options:
-b, --base[=PATH] The LTSP base directory Defaults to /opt/ltsp if unspecified.
-c, --cleanup 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.
-e, --exclude[=LIST] List of dirs/files to exclude from the image.
This is in addition to /etc/ltsp/ltsp-update-image.excludes.
-f, --config-nbd 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.
-h, --help Displays the ltsp-update-image help message.
-m, --no-compress Don't compress the generated image.
-n, --no-backup Don't backup chroot.img to chroot.img.old.
-r, --revert Swap chroot.img with chroot.img.old and update kernels.
--version Output version information and exit.