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.
This commit is contained in:
parent
b963e10d68
commit
ff5188db54
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365695
@ -19,12 +19,12 @@ fi
|
|||||||
# Set to a list of third-party software to enable in rc.conf(5).
|
# 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"
|
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.
|
# 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
|
# 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
|
# image since VMSIZE is the size of the UFS partition, not the disk which
|
||||||
# it resides within.
|
# it resides within.
|
||||||
export VMSIZE=4000M
|
export VMSIZE=5000M
|
||||||
|
|
||||||
# No swap space; the ec2_ephemeralswap rc.d script will allocate swap
|
# 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
|
# space on EC2 ephemeral disks. (If they exist -- the T2 low-cost instances
|
||||||
|
Loading…
Reference in New Issue
Block a user