autoinstall storage sizing-policy all, with interactive-sections storage, does not work

Bug #2055070 reported by hudac
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

I'm preparing an Ubuntu 22.04 iso. I want the default lvm size to be all, and not scaled as Ubuntu's default https://ubuntu.com/server/docs/install/autoinstall-reference.

sizing-policy
The lvm layout will, by default, attempt to leave room for snapshots and further expansion. A sizing-policy key may be supplied to control this behavior.
type: string (enumeration)
default: scaled

I tried:

  interactive-sections:
    - storage
  storage:
    layout:
      name: lvm
      sizing-policy: all

But it doesn't work.
I want the interactively chosen disk by the user to have the full capacity instead of changing it all the time.
This capacity is a thing that may be forgotten when installing, I want the default to be 'full'.

Thanks

Revision history for this message
hudac (hudac) wrote :
Revision history for this message
Olivier Gayot (ogayot) wrote :

Sadly, the storage autoinstall config seems ignored when storage is listed as an interactive-section. I guess the UI resets the configuration when it loads?

I guess the only option I can suggest with the current implementation would be to make the storage section non interactive ; it that is an option for you.

Thanks

Changed in subiquity (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
hudac (hudac) wrote :

Thanks for your reply.
Unfortunately I cannot remove the 'storage-interactive' part, because I'm working on a product where I don't know where it would be installed. I want to give the user the ability to choose.

Do you think it will be solved in newer versions?

Thanks

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.