[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debconf with locally derived options



On Sat, Nov 20, 2010 at 08:36:35PM +1300, Richard Hector wrote:
> One example would be configuring a daemon, and asking which of the
> configured IP addresses of the machine it should listen on. Obviously
> the packager has no idea what IP addresses are going to be on the target
> machine, so can't list them in templates. I would therefore want to
> generate the list on the fly, and present them as options to the user.

I recall that some packages do do this, and the first example that comes to
mind is postfix. Take a look at the config, templates and postinst files in
that package.

-- 
Jonathan Wiltshire

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51

Attachment: signature.asc
Description: Digital signature


Reply to: