diff options
author | Colin Percival <cperciva@FreeBSD.org> | 2017-11-01 00:33:54 +0000 |
---|---|---|
committer | Colin Percival <cperciva@FreeBSD.org> | 2017-11-01 00:33:54 +0000 |
commit | 9d98ae7d5fc0a6ad2bbc3e7c043a1a4d2d060160 (patch) | |
tree | 9a6439a143a8e9bc1841891d37f75c3398279224 /release | |
parent | f069674019e6a3a2f1660eab68158bcf06361ede (diff) | |
download | src-9d98ae7d5fc0a6ad2bbc3e7c043a1a4d2d060160.tar.gz src-9d98ae7d5fc0a6ad2bbc3e7c043a1a4d2d060160.zip |
Add the amazon-ssm-agent package to EC2 AMI builds. This makes it
immediately available on instances which are running without internet
access (or which can't rely on firstboot_pkgs to install it for some
other reason).
Note that this agent is not enabled by default; to enable it, add
amazon_ssm_agent_enable="YES" to /etc/rc.conf, e.g., by placing the lines
>>/etc/rc.conf
amazon_ssm_agent_enable="YES"
into the EC2 user-data. In addition to being enabled, the agent requires
keys to be provided via IAM Roles; users are encouraged to be very careful
in using this functionality due to the inherent vulnerability in the idea
of providing credentials via a service accessible to any process which can
open an HTTP connection.
Requested by: Amazon
No objection from: re@
Relnotes: FreeBSD/EC2 AMIs now include the Amazon EC2 Systems Manager
(SSM) Agent.
Notes
Notes:
svn path=/head/; revision=325254
Diffstat (limited to 'release')
-rw-r--r-- | release/tools/ec2.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/tools/ec2.conf b/release/tools/ec2.conf index 924e7876001d..4331edc7e00c 100644 --- a/release/tools/ec2.conf +++ b/release/tools/ec2.conf @@ -6,7 +6,7 @@ # 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" +export VM_EXTRA_PACKAGES="ec2-scripts firstboot-freebsd-update firstboot-pkgs dual-dhclient amazon-ssm-agent" # Set to a list of third-party software to enable in rc.conf(5). export VM_RC_LIST="ec2_configinit ec2_fetchkey ec2_ephemeralswap ec2_loghostkey firstboot_freebsd_update firstboot_pkgs" |