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

Bug#852158: Preseeding debconf/priority causes main menu to display



On Sun, Jan 22, 2017 at 06:46:14PM +0100, Philip Hands wrote:
> Josh Triplett <josh@joshtriplett.org> writes:
> > Package: main-menu
> > Severity: normal
> >
> > I'd like to use preseeding to pre-answer some questions in the
> > installer, while leaving others for the user to answer, including
> > questions asked with priority "high".  Using "auto url=..." sets the
> > priority to critical, so I tried including the following in my preseed
> > file:
> >
> > d-i debconf/priority high
> 
> Not a direct answer to the question you're asking, but you can get what
> you want without having to preseed the priority back down again.
> 
> The 'auto' target is a shortcut that adds priority=critical and
> auto=true so if you don't want the priority setting just add 'auto=true'
> as well as the url setting to the normal target (IIRC 'install'), so:
> 
>   install auto=true url=...

Yes, I managed to get that working in a VM.  It's longer to type,
though. :)

More importantly, leaving the priority at "high" for the initial run of
netcfg causes it to prompt for hostname and domain before it obtains and
loads the preseed file.  Hence wanting to start out at "critical" and
then lower the priority after processing the preseed file.

> I can imagine that you might still want to be able to preseed the
> priority without provoking the menu to appear though, so that may not
> actually address your issue.


Reply to: