argonaut-debconf2ldif1
Read debconf preseed files and create an ldif file to be imported into an ldap server
Usage
argonaut-debconf2ldif [-h]
[{--diff | --nodiff}]
[-f
flag]
[-b
base]
[-t
templates-tree]
[-q
questions-tree]
[--templates-file
file]
[--questions-file
file]
[-k
keys-file]
[{-p | --noprefer-preseed}]
[{-d | -c}]
Options
-h
print out this help message
-b
LDAP base, usually ou=templatename,<ldap_base>
-c
overrides flag and templates/questions paths to use /var/log/installer/cdebconf
-d
overrides flag and templates/questions paths to use /var/cache/debconf/
-f
flag (default: preseed)
-k
preseed keys file path (optional)
-p
allow type/value specs from preseed file to have precedence over values from templates/questions files
-q
questions branch (default: ou=questions)
-t
templates branch (default: ou=templates)
--diff
to see diff between templates and questions
--templates-file
templates file path (default: /var/log/installer/cdebconf/templates.dat)
--questions-file
questions file path (default: /var/log/installer/cdebconf/questions.dat)
Overview
Script that looks up the specified Debconf or CDebconf database and converts the specified questions/templates from Debconf format "822" to LDIF.
Licence and copyright
This code is part of Argonaut Project <https://www.argonaut-project.org/>
- Copyright (C) 2011, Davor Ocelic <[email protected]>
- Copyright (C) 2011-2019 FusionDirectory project
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.