diff options
| author | Colin Percival <cperciva@FreeBSD.org> | 2026-03-13 20:45:05 +0000 |
|---|---|---|
| committer | Colin Percival <cperciva@FreeBSD.org> | 2026-03-13 21:25:46 +0000 |
| commit | 277830b4d3ae9999c80bf915b5491850e91c6516 (patch) | |
| tree | e85a988763a8ff0f9816a9d799f7efb2d8a5d0bd | |
| parent | 4a8055914d6a60714f27379cbff8b2e9198157f6 (diff) | |
EC2: Don't use unicode in boot loader
The boot loader menu is disabled by default in EC2, but if it is ever
turned on, the default (unicode) output breaks EC2's web interface to
the serial console.
Set loader_menu_frame="ascii" instead.
MFC after: 3 days
Sponsored by: Amazon
| -rw-r--r-- | release/tools/ec2.conf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release/tools/ec2.conf b/release/tools/ec2.conf index 744ac24a3f0f..62d7d1957aaf 100644 --- a/release/tools/ec2.conf +++ b/release/tools/ec2.conf @@ -41,9 +41,11 @@ ec2_common() { metalog_add_data ./boot.config # Booting quickly is more important than giving users a chance to - # access the boot loader via the serial port. + # access the boot loader via the serial port; but if users turn the + # boot loader back on, avoid ASCII since it breaks the EC2 web console. echo 'autoboot_delay="-1"' >> ${DESTDIR}/boot/loader.conf echo 'beastie_disable="YES"' >> ${DESTDIR}/boot/loader.conf + echo 'loader_menu_frame="ascii"' >> ${DESTDIR}/boot/loader.conf # The EFI RNG on Graviton 2 is particularly slow if we ask for the # default 2048 bytes of entropy; ask for 64 bytes instead. |
