autoinstall reorder_uefi is ignored when using storage layout

Bug #1952926 reported by Tom Kivlin
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
subiquity
In Progress
Medium
Unassigned

Bug Description

More info here: https://askubuntu.com/a/1378297/1094816

Using the following in user-data results in UEFI boot order being re-ordered so the boot option used to run autoinstall (e.g. netboot, cd-rom) goes to the top of the list.

```
#cloud-config
autoinstall:
...
  storage:
    layout:
      name: direct
    grub:
      reorder_uefi: False
```

Using the following in user-data results in the UEFI boot order remaining the same.

```
cloud-config
autoinstall:
...
  storage:
    grub:
      reorder_uefi: False
    config:
    - ....
```

Would it be possible for subiquity to include the grub configuration when generating the curtin configuration, when storage layout is used?

Revision history for this message
Yusuf Güngör (yusuf2) wrote :

This bugs made layout config useless for us too

Dan Bungert (dbungert)
tags: added: foundations-todo
Changed in subiquity:
importance: Undecided → Medium
Dan Bungert (dbungert)
Changed in subiquity:
status: New → Triaged
Revision history for this message
Jamie Murphy (itjamie) wrote (last edit ):

This is also valid on newer versions so the title should be updated.

Theoretically this change would load the user supplied grub config from the supplied autoinstall data ( untested )
https://github.com/canonical/subiquity/commit/b249c4a9bcc8619ebae8a6279c3ffeeb90a05fac - https://github.com/canonical/subiquity/pull/1536

Dan Bungert (dbungert)
Changed in subiquity:
status: Triaged → In Progress
summary: - Ubuntu 20.04 autoinstall reorder_uefi is ignored when using storage
- layout
+ autoinstall reorder_uefi is ignored when using storage layout
Revision history for this message
Olivier Ferré (olivier-ferre) wrote :

Hi,
the same for me. It's possible tu use custom config but with different computers and disks it's more difficult (nvme or sda for example).
So when we install nearly 100 computers we have to change boot order on all after deployement...
Perhaps it is possible in the user-data to male custom config for different type of disk ???

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.