Ubuntu 20.10 autoinstall does not reorder uefi boot order
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm trying to autoinstall an Ubuntu 20.10 using packer qemu/kvm in UEFI mode at https:/
This might be related with https:/
I've browsed the https:/
I was able to workaround this using efibootmgr:
late-commands:
- |
if [ -d /sys/firmware/efi ]; then
apt-get install -y efibootmgr
efibootmgr -o $(efibootmgr | perl -n -e '/Boot(.+)\* ubuntu/ && print $1')
fi
But it would be better not doing that.
You can set `reorder_uefi: False` in the storage section of autoinstall cloud-config. From https:/ /ubuntu. com/server/ docs/install/ autoinstall- reference:
action-based config /curtin. readthedocs. io/en/latest/ topics/ storage. html.
For full flexibility, the installer allows storage configuration to be done using a syntax which is a superset of that supported by curtin, described at https:/
If the “layout” feature is used to configure the disks, the “config” section will not be used.
As well as putting the list of actions under the ‘config’ key, the grub and swap curtin config items can be put here.
However, as per bug I just raised (https:/ /bugs.launchpad .net/subiquity/ +bug/1952926), the grub and swap sections are only used if you use config in the storage section - not used if you use layout in the storage section.