ec2.conf (1d2e46d40861aff2e4f3147e7a242e7bc808978e) | ec2.conf (89585511cc052643a774f64f6450d18e7dd51d4a) |
---|---|
1#!/bin/sh 2# 3# $FreeBSD$ 4# 5 6# Packages to install into the image we're creating. This is a deliberately 7# minimalist set, providing only the packages necessary to bootstrap further 8# package installation as specified via EC2 user-data. --- 7 unchanged lines hidden (view full) --- 16# aarch64, so we have to be selective about when we install it. 17if [ "${TARGET_ARCH}" = "amd64" ]; then 18 export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} amazon-ssm-agent" 19fi 20 21# Set to a list of third-party software to enable in rc.conf(5). 22export VM_RC_LIST="ec2_configinit ec2_fetchkey ec2_loghostkey firstboot_freebsd_update firstboot_pkgs ntpd dev_aws_disk ec2_ephemeral_swap" 23 | 1#!/bin/sh 2# 3# $FreeBSD$ 4# 5 6# Packages to install into the image we're creating. This is a deliberately 7# minimalist set, providing only the packages necessary to bootstrap further 8# package installation as specified via EC2 user-data. --- 7 unchanged lines hidden (view full) --- 16# aarch64, so we have to be selective about when we install it. 17if [ "${TARGET_ARCH}" = "amd64" ]; then 18 export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} amazon-ssm-agent" 19fi 20 21# Set to a list of third-party software to enable in rc.conf(5). 22export VM_RC_LIST="ec2_configinit ec2_fetchkey ec2_loghostkey firstboot_freebsd_update firstboot_pkgs ntpd dev_aws_disk ec2_ephemeral_swap" 23 |
24# Build with a 4.9 GB UFS partition; the growfs rc.d script will expand | 24# Build with a 4.9 GB partition; the growfs rc.d script will expand |
25# the partition to fill the root disk after the EC2 instance is launched. 26# Note that if this is set to <N>G, we will end up with an <N+1> GB disk | 25# the partition to fill the root disk after the EC2 instance is launched. 26# Note that if this is set to <N>G, we will end up with an <N+1> GB disk |
27# image since VMSIZE is the size of the UFS partition, not the disk which 28# it resides within. | 27# image since VMSIZE is the size of the filesystem partition, not the disk 28# which it resides within. |
29export VMSIZE=5000m 30 31# No swap space; the ec2_ephemeralswap rc.d script will allocate swap 32# space on EC2 ephemeral disks. (If they exist -- the T2 low-cost instances 33# and the C4 compute-optimized instances don't have ephemeral disks. But 34# it would be silly to bloat the image and increase costs for every instance 35# just for those two families, especially since instances ranging in size 36# from 1 GB of RAM to 60 GB of RAM would need different sizes of swap space --- 142 unchanged lines hidden --- | 29export VMSIZE=5000m 30 31# No swap space; the ec2_ephemeralswap rc.d script will allocate swap 32# space on EC2 ephemeral disks. (If they exist -- the T2 low-cost instances 33# and the C4 compute-optimized instances don't have ephemeral disks. But 34# it would be silly to bloat the image and increase costs for every instance 35# just for those two families, especially since instances ranging in size 36# from 1 GB of RAM to 60 GB of RAM would need different sizes of swap space --- 142 unchanged lines hidden --- |