svn commit: r345317 - head/release/tools
Colin Percival
cperciva at FreeBSD.org
Wed Mar 20 07:24:23 UTC 2019
Author: cperciva
Date: Wed Mar 20 07:24:21 2019
New Revision: 345317
URL: https://svnweb.freebsd.org/changeset/base/345317
Log:
Only install amazon-ssm-agent into amd64 AMIs.
This package does not exist on aarch64 at present.
Modified:
head/release/tools/ec2.conf
Modified: head/release/tools/ec2.conf
==============================================================================
--- head/release/tools/ec2.conf Wed Mar 20 07:19:09 2019 (r345316)
+++ head/release/tools/ec2.conf Wed Mar 20 07:24:21 2019 (r345317)
@@ -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"
More information about the svn-src-all
mailing list