Re: debconf question.
On Tue, Jul 31, 2001 at 08:24:41PM -0400, Joey Hess wrote:
> Viral wrote:
> > My problem is that, there will be a variable number of nodes for which
> > information is required. This will be only known at runtime.
>
> No problem. A single debconf template can instantiate into an unlimited
> number of individual questions. See the REGISTER command. You can also
> use substitution variables to make small alterations to individual
> questions.
Thanks ! With that and some help from cvs.config, I got it working.
> > I thought of fixing up the max. number of nodes to 16. Now, if I use
> > the backup functionality, how do I allow the user to specify 4 nodes and
> > then continue, instead of pressing <enter> another 12 times ?
>
> Maybe you should prompt for the number of nodes first, then create that
> many and display them all.
Thats exactly what I did.
viral
--
http://www.infofin.com/~gandalf
And then one day you find ten years have got behind you.
No one told you when to run, you missed the starting gun.
Reply to: