HomeFreeBSD

EC2: Default to "uefi-preferred" boot mode

Description

EC2: Default to "uefi-preferred" boot mode

In EC2, UEFI boots faster than BIOS, but not all amd64 instance types
support UEFI. AMIs need to have their boot mode designated, which
created a dilemma: Faster boots, or wider compatibility?

The recently added "uefi-preferred" option solves this: AMIs can be
marked to use UEFI where it's available, but fall back to BIOS on
instance types which do not support UEFI.

This uses bsdec2-image-upload 1.4.6, which recently landed in the
ports tree.

PR: 265697
Reviewed by: delphij, imp
MFC after: 1 week
Sponsored by: https://www.patreon.com/cperciva
Differential Revision: https://reviews.freebsd.org/D40470

(cherry picked from commit bcf9147144f3499976a623f92712ecd0aca71912)

Details

Provenance
cpercivaAuthored on Jun 7 2023, 10:17 PM
Reviewer
delphij
Differential Revision
D40470: EC2: Default to "uefi-preferred" boot mode
Parents
rG12b3082aa072: pf: fix pf_nv##_array() size check
Branches
Unknown
Tags
Unknown