git: 5774911bfb30 - main - EC2: Align partitions to 1 MB boundaries

From: Colin Percival <cperciva_at_FreeBSD.org>
Date: Wed, 21 Oct 2026 20:48:38 UTC
The branch main has been updated by cperciva:

URL: https://cgit.FreeBSD.org/src/commit/?id=5774911bfb304c2c9b5d6c3c798c21e2c40b59de

commit 5774911bfb304c2c9b5d6c3c798c21e2c40b59de
Author:     Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2026-10-08 00:56:01 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2026-10-21 20:40:38 +0000

    EC2: Align partitions to 1 MB boundaries
    
    Reviewed by:    jlduran, imp
    MFC after:      2 months
    Sponsored by:   Amazon
    Differential Revision:  https://reviews.freebsd.org/D60455
---
 release/tools/ec2.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/release/tools/ec2.conf b/release/tools/ec2.conf
index dc1818219816..b6dbee3a3cad 100644
--- a/release/tools/ec2.conf
+++ b/release/tools/ec2.conf
@@ -20,6 +20,10 @@ export VMSIZE=8000m
 # and 4096 GB of RAM.
 export NOSWAP=YES
 
+# Align partitions to 1 MB boundaries; this is recommended by EC2 for
+# optimal EBS performance.
+export VM_PARTALIGN=1M
+
 ec2_common() {
 	if [ -z "${NO_ROOT}" ]; then
 		echo "ERROR: NO_ROOT not set" >&2