xt-customize-image8
Customize a freshly installed copy of gnu/linux
Usage
xt-customize-image [options]
All other
options
from
xen-create-image,
such
as
the
new
IP
address(es)
Notes
This script is invoked by xen-create-image after it has created afresh installation of Linux within a temporary location.This script will be invoked with a full copy of the arguments fromxen-create-image in its environment, along with several command linearguments.The command line arguments which are mandatory are:--location - The temporary installation root of the new install--dist - The distribution which has been installed.
Hook scripts
The distribution name is used to locate an appropriate collectionof scripts, or hooks, to execute to do the actual customisation.The hooks will each be executed with a single parameter which isthe directory path to the new instance. This argument is taken fromthe --location option.For the distribution named 'foo' the scripts will be loaded andexecuted from '/usr/share/xen-tools/foo.d'. Each executable willbe loaded and executed in sorted order.The systems administrator can optionally provide site-specificrevisions of those same hooks by placing them in the directory'/etc/xen-tools/hooks.d/' in which case a script with the same nameas the one in the 'foo.d' directory above will take precedence. Inthis way certain hooks can be prevented from running, expanded withsite-specific features which won't get overwritten on upgrades, orpatched with critical bug-fixes before the upstream OS distributionprovider reacts.
Releases
9 releases since Debian 4.0 (Etch); the text changed 8 times.