In the first part of this enteo v6 tutorial I described how we can switch into a debian change root environment to deploy software driven by enteo v6 with the great on board tool apt. This part should describe the ideas to create an unattended answering file.
Debian supports different auto answering solutio, e.g. FAI or preseeding. Preseeding means we supply an answering file which will be read from the stdio stream through the apt-installer.
Creating the preseed file
The preseed file will be created through the tool debconf-get-selections which will be installed through the package debconf-utils. Calling the follwing to command lines will create the full preseed file of the hole system.> debconf-get-selections –installer > file_selections
> debconf-get-selections >> file_selections
To get the parts of a specific application the files has to be filtered, e.g.
> grep libpam-mount file_selections
For more information check out this documentation.
Assigning the answering files to the apt installer
The tool debconf-set-selections can be used to add a answering file to the apt database. This file will be used for the installation automaticly. The following examples shows the installation process of the pam-mount library:
> cat pam-mount.preseed | debconf-set-selections
> apt-get -y install libpam-mount
The preseed files and the installation shell script has to be downloaded into the chroot environment as described in part 1 of this tutorial.
The last part will describe how we can use this technologies to install a debian base system and joining this system in a active directory domain with the hostname entered in the enteo v6 database.
Contact me personally to get the set of the different scripts I wrote to handle all the described tasks.




