diff options
authorColin Percival <cperciva@FreeBSD.org>2019-05-08 21:03:03 +0000
committerColin Percival <cperciva@FreeBSD.org>2019-05-08 21:03:03 +0000
commit19a60fdc194303d2528907605f7230e7c7ea4c6a (patch)
parent9835d216d8fd2ccc0d2e1a5550d802a842a57d4b (diff)
Bump EC2 AMI filesystem size up to 4000 MB.
AMIs have been breaking for the past month due to insufficient disk space. Due to the small amount of overhead in the disk image, the EC2 AMIs end up with the same (4GB) minimum disk size. Reported by: Michal Krawczyk
Notes: svn path=/head/; revision=347370
1 files changed, 2 insertions, 2 deletions
diff --git a/release/tools/ec2.conf b/release/tools/ec2.conf
index d053ebb1a8e0..e338c989336f 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"
-# Build with a 3 GB UFS partition; the growfs rc.d script will expand
+# Build with a 3.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=3072M
+export VMSIZE=4000M
# 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