2011-04-01 10:47:48 +00:00
|
|
|
cdist-type__debconf_set_selections(7)
|
|
|
|
=====================================
|
2016-06-23 14:08:59 +00:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
cdist-type__debconf_set_selections - Setup debconf selections
|
2011-04-01 10:11:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2021-04-26 14:39:51 +00:00
|
|
|
On Debian and alike systems :strong:`debconf-set-selections`\ (1) can be used
|
2011-04-01 10:47:48 +00:00
|
|
|
to setup configuration parameters.
|
2011-04-01 10:11:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
REQUIRED PARAMETERS
|
|
|
|
-------------------
|
2021-04-26 14:39:51 +00:00
|
|
|
cf. ``--line``.
|
|
|
|
|
|
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
2016-05-20 06:50:56 +00:00
|
|
|
file
|
2021-04-26 14:39:51 +00:00
|
|
|
Use the given filename as input for :strong:`debconf-set-selections`\ (1)
|
|
|
|
If filename is ``-``, read from stdin.
|
|
|
|
|
|
|
|
**This parameter is deprecated, because it doesn't work with state detection.**
|
|
|
|
line
|
|
|
|
A line in :strong:`debconf-set-selections`\ (1) compatible format.
|
|
|
|
This parameter can be used multiple times to set multiple options.
|
|
|
|
|
|
|
|
(This parameter is actually required, but marked optional because the
|
|
|
|
deprecated ``--file`` is still accepted.)
|
|
|
|
|
|
|
|
|
|
|
|
BOOLEAN PARAMETERS
|
|
|
|
------------------
|
|
|
|
None.
|
2011-04-01 10:11:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
.. code-block:: sh
|
|
|
|
|
2021-04-26 14:39:51 +00:00
|
|
|
# Setup gitolite's gituser
|
|
|
|
__debconf_set_selections nslcd --line 'gitolite gitolite/gituser string git'
|
2014-01-27 13:17:51 +00:00
|
|
|
|
2021-04-26 14:39:51 +00:00
|
|
|
# Setup configuration for nslcd from a file.
|
|
|
|
# NB: Multiple lines can be passed to --line, although this can be considered a hack.
|
|
|
|
__debconf_set_selections nslcd --line "$(cat "${__files:?}/preseed/nslcd.debconf")"
|
2011-04-01 10:11:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2021-04-26 14:39:51 +00:00
|
|
|
- :strong:`cdist-type__update_alternatives`\ (7)
|
|
|
|
- :strong:`debconf-set-selections`\ (1)
|
2016-06-17 19:28:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
AUTHORS
|
|
|
|
-------
|
|
|
|
Nico Schottelius <nico-cdist--@--schottelius.org>
|
2021-04-26 14:39:51 +00:00
|
|
|
Dennis Camera <dennis.camera--@--ssrq-sds-fds.ch>
|
2011-04-01 10:11:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
2021-04-26 14:39:51 +00:00
|
|
|
Copyright \(C) 2011-2014 Nico Schottelius, 2021 Dennis Camera.
|
|
|
|
You can redistribute it and/or modify it under the terms of the GNU General
|
|
|
|
Public License as published by the Free Software Foundation, either version 3 of
|
|
|
|
the License, or (at your option) any later version.
|