About Archive Tags RSS Feed

 

In a case like this

22 April 2006 21:50

Automating Debconf Setup?

I want to automate the post-install debconf setup of a package in order to run a mass-deployment of a package.

I know that I can dump the current setup of a package with something like:

client1:~# debconf-show foo
* foo/bar: true
* foo/baz: false

However there appears to be no corresponding debconf-set command I can use to import these settings on the far side.

Am I missing something?

(Initially I thought I could use debconf-set-selections but the two formats seem to be incompatible. Unfortunately debconf-get-selections doesn't appear to output the debconf settings I was expecting it to show so I can't use that.)

| No comments