On Friday 01 June 2007 22:25, Josef Wolf wrote: > On Fri, Jun 01, 2007 at 07:24:28PM +0200, Frans Pop wrote: > > On Friday 01 June 2007 19:09, Josef Wolf wrote: > > > but this command outputs totally unrelated lines: > > > > What would be wrong with: > > # debconf-get-selections --installer | \ > > > grep "choose-mirror-bin mirror/http/proxy" | awk '{print $4}' > But I can't find a clean way how to retrieve the preseeded values. Strange, I thought I had given you one with the example above :-) You will just need to make sure that you grep on the regular owner (the component/udeb the template comes from) _plus_ the name of the template, thus: # debconf-get-selections --installer | \ > grep "<owner> <template>" | awk '{print $4}' I would avoid using the owner "d-i", as that is really a pseudo-owner only used for preseeded questions. Take a look at /var/lib/cdebconf/questions.dat sometime to see how the raw "database" looks.
Attachment:
pgpVihnqO_F7H.pgp
Description: PGP signature