diff options
| author | Martin Schwenke <martin@meltin.net> | 2008-08-15 15:34:22 +1000 |
|---|---|---|
| committer | Martin Schwenke <martin@meltin.net> | 2008-08-15 15:34:22 +1000 |
| commit | f334e8aa5dc18af9ce7d94a2e35f68fe583fc0ca (patch) | |
| tree | 821bd15dc4d521b7fa82cfe26500333ac9ed6173 /base/root/scripts | |
| parent | 9cadd75c0a109c3c283bd2144f0305c11f00c5e2 (diff) | |
Configuration generalised so that all options can be set via
environment variables, in configuration files or on the command-line.
Changed format of config.default to use defconf rather than
assignment, and include documentation for usage message. All
configuration variables now have an equivalent command-line option.
For example, $NBD_DEVICE can be set on the command-line using the
--nbd-device option. Options specified on the command-line override
options set in any other way. New configuration option $WITH_TSM_NODE
(defaults to 1). Removed -n option - this is implicitly replaced by
--with-tsm-node=0. The -c option can now be specified multiple times
and interspersed with setting individual options - order is important.
New option --dump displays the current configuration settings and then
exits. It can be inserted anywhere on the command-line and takes
immediate effect, so it should be at the end of the command-line to
display all specified settings. Configuration settings can also be
set in autocluster's environment, where they override the settings in
config.default (but not those specified on the command-line, including
via -c). Error trapping moved to after usage processing, so an
invalid command-line option causes the desired usage message to
appear.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'base/root/scripts')
0 files changed, 0 insertions, 0 deletions
