- bullseye 20210101-1
|CONTAINER-CREATE-DEBCONF(1)||General Commands Manual||CONTAINER-CREATE-DEBCONF(1)|
container-create-debconf - Create an advanced Debian based container with debconf
container create -s debconf ['OPTIONS'] cnt cr -s debconf ['OPTIONS']
container create -s debian ['OPTIONS'] cnt cr -s debian ['OPTIONS']
container create -s progress-linux ['OPTIONS'] cnt cr -s progress-linux ['OPTIONS']
The debconf container creation script uses debconf(1) to automatically create a Debian based container.
Note that this container creation script can do a few things more than just automatically debootstrap based on a preseed file. It also allows you to set a root password, configure the network, install certain packages and execute hooks.
But: this is not a replacement for a configuration management system (like ansible, puppet, etc.). The intenion of this script is to create the initial container to that extend that a configuration managment system can take over.
As an analogy, think of debian-installer: d-i sets up your system to make it ready to boot and connect to the network. Everything after that is out of scope. Same goes for this script.
This script performs the following configuration on top of a Debian based system:
- root password
- apt repositories
This container creation script can be used under two different names: debian and progress-linux.
Alternative, calling it under the debconf name is equal to the debian mode.
Hierarchy of Preseed Files:
- The debconf script can be fully preseeded. Such preseed files can include one or more preseed files themselfs (currently, only one layer of includes is supported, no nested or recursive includes).
- The general rule of 'the later preseed file overwrites the earlier' applies. The debconf script reads the main preseed file (specified either on command line or by debconf selection/input dialog) after any included preseed files in there.
- That means that debconf values after the include statement in the main preseed file can overwrite any values specified in the included preseed files.
The following script options are available:
Create a Debian based container:
Create a Progress Linux container:
The following files are used:
- Container configuration files.
- Container creation scripts.
- Container documentation.
- Container directory.
- Container cache directory.
- Container temporary directory.
More information about compute-tools and the Open Infrastructure project can be found on the homepage at https://open-infrastructure.net.
Bug reports, feature requests, help, patches, support and everything else are welcome on the Open Infrastructure Software Mailing List <email@example.com>.
Debian specific bugs can also be reported in the Debian Bug Tracking System (https://bugs.debian.org).
compute-tools were written by Daniel Baumann <firstname.lastname@example.org> and others.