]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
EC2: Default to "uefi-preferred" boot mode
authorColin Percival <cperciva@FreeBSD.org>
Wed, 7 Jun 2023 22:17:12 +0000 (15:17 -0700)
committerColin Percival <cperciva@FreeBSD.org>
Wed, 14 Jun 2023 18:31:10 +0000 (11:31 -0700)
commitbcf9147144f3499976a623f92712ecd0aca71912
tree1f7b3debfbb9fda15a13c1e4fff314d9e005c701
parent104e8215cc7529a767b480a395ce97cf7a7037f8
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
release/Makefile.ec2