svn commit: r325254 - head/release/tools

Colin Percival cperciva at FreeBSD.org
Wed Nov 1 00:33:56 UTC 2017


Author: cperciva
Date: Wed Nov  1 00:33:54 2017
New Revision: 325254
URL: https://svnweb.freebsd.org/changeset/base/325254

Log:
  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.

Modified:
  head/release/tools/ec2.conf

Modified: head/release/tools/ec2.conf
==============================================================================
--- head/release/tools/ec2.conf	Tue Oct 31 23:48:57 2017	(r325253)
+++ head/release/tools/ec2.conf	Wed Nov  1 00:33:54 2017	(r325254)
@@ -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"


More information about the svn-src-all mailing list