path: root/release/tools
diff options
authorColin Percival <cperciva@FreeBSD.org>2020-09-13 19:11:45 +0000
committerColin Percival <cperciva@FreeBSD.org>2020-09-13 19:11:45 +0000
commitff5188db54f94dd48dcd1a029fbbcfef42e9992b (patch)
tree1a17909047551c9fa36e7cfafa75ab92f1cb130e /release/tools
parentb963e10d689aaef759473e582aac5bbe8a53bd2d (diff)
Bump the size of EC2 AMIs up to 5 GB.
The FreeBSD base system continues to expand. 4GB is now insufficient; we passed 3 GB in May 2019; we passed 2 GB in August 2017. Over half of the disk space used is in /usr/lib/debug/. Without this change, instances boot but are unusable, since the first thing which breaks when VM filesystems are too small is the "pkg install" in the VM building process.
Notes: svn path=/head/; revision=365695
Diffstat (limited to 'release/tools')
1 files changed, 2 insertions, 2 deletions
diff --git a/release/tools/ec2.conf b/release/tools/ec2.conf
index 45417e856d2d..aac87e93e28b 100644
--- a/release/tools/ec2.conf
+++ b/release/tools/ec2.conf
@@ -19,12 +19,12 @@ fi
# Set to a list of third-party software to enable in rc.conf(5).
export VM_RC_LIST="ec2_configinit ec2_fetchkey ec2_loghostkey firstboot_freebsd_update firstboot_pkgs ntpd dev_aws_disk"
-# Build with a 3.9 GB UFS partition; the growfs rc.d script will expand
+# Build with a 4.9 GB UFS partition; the growfs rc.d script will expand
# the partition to fill the root disk after the EC2 instance is launched.
# Note that if this is set to <N>G, we will end up with an <N+1> GB disk
# image since VMSIZE is the size of the UFS partition, not the disk which
# it resides within.
-export VMSIZE=4000M
+export VMSIZE=5000M
# No swap space; the ec2_ephemeralswap rc.d script will allocate swap
# space on EC2 ephemeral disks. (If they exist -- the T2 low-cost instances