Unable to set locale when using interactive-sections in Automated Installs

Bug #1919251 reported by Pedro Principeza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
Fix Committed
Undecided
Dan Bungert

Bug Description

[Description]
When using the `interactive-sections` [0] setting in Automated Server Installations, it is documented that `locale` automatically becomes interactive as a consequence [1].

However, if one tries to make `locale` an automated option (i.e. defining the `locale` setting to be used during that install), such setting is ignored, and the installation stops and asks you for that definition.

[Impact]
Whenever a user tries to have one single interactive section to pop-up during the installation, that'll add an undesired "freebie" locale step to be filled in.

[Reproduction Steps]
Create a schema that contains:

interactive-sections:
- <add any section here>

And define, moreover:

locale: <locale>

The locale definitions will still be inquired during the installation.

[ . . . ]

[0] https://ubuntu.com/server/docs/install/autoinstall-reference#interactive-sections
[1] https://ubuntu.com/server/docs/install/autoinstall-reference#locale

Tags: fr-1283
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Ah I remember one of the reasons I did this: currently the locale screen is where the logic to ask the user if they want to use "rich mode" on a serial connection lives and that's a question that should be asked even for a partially interactive autoinstall. I think if we can move that logic to somewhere more generic then it should be fine to skip the locale screen.

Dan Bungert (dbungert)
tags: added: fr-1283
Dan Bungert (dbungert)
Changed in subiquity:
status: New → In Progress
assignee: nobody → Dan Bungert (dbungert)
Dan Bungert (dbungert)
Changed in subiquity:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.