diff options
| author | Colin Percival <cperciva@FreeBSD.org> | 2019-03-20 07:24:21 +0000 |
|---|---|---|
| committer | Colin Percival <cperciva@FreeBSD.org> | 2019-03-20 07:24:21 +0000 |
| commit | b55bb7636615602824bdfd5bd6f4b2fdfc1c2265 (patch) | |
| tree | e8ea805742b3c10f0c5c7c548f1c204c0ea791ce /release | |
| parent | 01b7329605347f147872c5b71b6f3ee3a8a0fd1c (diff) | |
Notes
Diffstat (limited to 'release')
| -rw-r--r-- | release/tools/ec2.conf | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/release/tools/ec2.conf b/release/tools/ec2.conf index 3be4a5015dbd..bf8eb723d1bd 100644 --- a/release/tools/ec2.conf +++ b/release/tools/ec2.conf @@ -6,7 +6,15 @@ # Packages to install into the image we're creating. This is a deliberately # minimalist set, providing only the packages necessary to bootstrap further # package installation as specified via EC2 user-data. -export VM_EXTRA_PACKAGES="ec2-scripts firstboot-freebsd-update firstboot-pkgs dual-dhclient amazon-ssm-agent" +export VM_EXTRA_PACKAGES="ec2-scripts firstboot-freebsd-update firstboot-pkgs dual-dhclient" + +# Include the amazon-ssm-agent package in amd64 images, since some users want +# to be able to use it on systems which are not connected to the Internet. +# (It is not enabled by default, however.) This package does not exist for +# aarch64, so we have to be selective about when we install it. +if [ "${TARGET_ARCH}" = "amd64" ]; then + export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} amazon-ssm-agent" +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" |
