1CDIST-TYPE__DEBCONF_SET_SELECTIONS(7)cdistCDIST-TYPE__DEBCONF_SET_SELECTIONS(7)
2
3
4
6 cdist-type__debconf_set_selections - Setup debconf selections
7
9 On Debian and alike systems debconf-set-selections(1) can be used to
10 setup configuration parameters.
11
13 cf. --line.
14
16 file Use the given filename as input for debconf-set-selections(1) If
17 filename is -, read from stdin.
18
19 This parameter is deprecated, because it doesn't work with state
20 detection.
21
22 line A line in debconf-set-selections(1) compatible format. This pa‐
23 rameter can be used multiple times to set multiple options.
24
25 (This parameter is actually required, but marked optional be‐
26 cause the deprecated --file is still accepted.)
27
29 None.
30
32 # Setup gitolite's gituser
33 __debconf_set_selections nslcd --line 'gitolite gitolite/gituser string git'
34
35 # Setup configuration for nslcd from a file.
36 # NB: Multiple lines can be passed to --line, although this can be considered a hack.
37 __debconf_set_selections nslcd --line "$(cat "${__files:?}/preseed/nslcd.debconf")"
38
40 • cdist-type__update_alternatives(7)
41
42 • debconf-set-selections(1)
43
45 Nico Schottelius <nico-cdist--@--schottelius.org>
46 Dennis Camera <dennis.camera--@--ssrq-sds-fds.ch>
47
48
50 Copyright (C) 2011-2014 Nico Schottelius, 2021 Dennis Camera. You can
51 redistribute it and/or modify it under the terms of the GNU General
52 Public License as published by the Free Software Foundation, either
53 version 3 of the License, or (at your option) any later version.
54
56 ungleich GmbH 2021
57
58
59
60
616.9.8 Aug 24, 2C0D2I1ST-TYPE__DEBCONF_SET_SELECTIONS(7)