Part 2: using preseed with apt

August 27th, 2009 by admin 2 comments »

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.

    warm welcome to facebook and twitter

    August 26th, 2009 by admin No comments »

    I got it, the twitter and facebook integration with my new WordPress driven blog-engine will be up and running! I’m happy to achieve also this crowds.

    arrived

    August 26th, 2009 by admin No comments »

    Welcome to my new virtual home. I’m arrived at a new WordPress driven blog page which should give you detailed information about my professional live as a System Architect. For more information about my self visit the About page.

    Former blog posts are hosted in my old blog engine. Thanks a lot for the great work the guys from geekswithblog did, it was a great engine for my german posts in the past.

    Everybody can see that I switched the blog language to English to give my international colleagues a chance to participate from my posts also.