1CDIST-TYPE__DEBCONF_SET_SELECTIONS(7)cdistCDIST-TYPE__DEBCONF_SET_SELECTIONS(7)
2
3
4

NAME

6       cdist-type__debconf_set_selections - Setup debconf selections
7

DESCRIPTION

9       On  Debian  and  alike systems debconf-set-selections(1) can be used to
10       setup configuration parameters.
11

REQUIRED PARAMETERS

13       cf. --line.
14

OPTIONAL PARAMETERS

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

BOOLEAN PARAMETERS

29       None.
30

EXAMPLES

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

SEE ALSO

40cdist-type__update_alternatives(7)
41
42debconf-set-selections(1)
43

AUTHORS

45       Nico Schottelius <nico-cdist--@--schottelius.org>
46       Dennis Camera <dennis.camera--@--ssrq-sds-fds.ch>
47
48

COPYING

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
617.0.0                            Jul 31, 2C0D2I2ST-TYPE__DEBCONF_SET_SELECTIONS(7)
Impressum