mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-21 07:15:49 +00:00
EC2: Make amazon-ssm-agent optional
Move it from VM_EXTRA_PACKAGES in ec2.conf to VM_EXTRA_PACKAGES in ec2-{base,cloud-init}.conf Sponsored by: Amazon Differential Revision: https://reviews.freebsd.org/D46508
This commit is contained in:
parent
f961ddb28d
commit
40ff0753ab
@ -4,11 +4,13 @@
|
||||
|
||||
# Packages to install into the image we're creating. In addition to packages
|
||||
# present on all EC2 AMIs, we install:
|
||||
# * amazon-ssm-agent (not enabled by default, but some users need to use
|
||||
# it on systems not connected to the internet),
|
||||
# * ec2-scripts, which provides a range of EC2ification startup scripts,
|
||||
# * firstboot-freebsd-update, to install security updates at first boot,
|
||||
# * firstboot-pkgs, to install packages at first boot, and
|
||||
# * isc-dhcp44-client, used for IPv6 network setup.
|
||||
export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} ec2-scripts \
|
||||
export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} amazon-ssm-agent ec2-scripts \
|
||||
firstboot-freebsd-update firstboot-pkgs isc-dhcp44-client"
|
||||
|
||||
# Services to enable in rc.conf(5).
|
||||
|
@ -3,8 +3,8 @@
|
||||
. ${WORLDDIR}/release/tools/ec2.conf
|
||||
|
||||
# Packages to install into the image we're creating. In addition to packages
|
||||
# present on all EC2 AMIs, we install cloud-init.
|
||||
export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} net/cloud-init"
|
||||
# present on all EC2 AMIs, we install amazon-ssm-agent and cloud-init.
|
||||
export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} amazon-ssm-agent net/cloud-init"
|
||||
|
||||
# Services to enable in rc.conf(5).
|
||||
export VM_RC_LIST="${VM_RC_LIST} cloudinit sshd"
|
||||
|
@ -1,11 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Packages which should be installed onto all EC2 AMIs:
|
||||
# Package which should be installed onto all EC2 AMIs:
|
||||
# * ebsnvme-id, which is very minimal and provides important EBS-specific
|
||||
# functionality,
|
||||
# * amazon-ssm-agent (not enabled by default, but some users need to use
|
||||
# it on systems not connected to the internet).
|
||||
export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} ebsnvme-id amazon-ssm-agent"
|
||||
export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} ebsnvme-id"
|
||||
|
||||
# Services which should be enabled by default in rc.conf(5).
|
||||
export VM_RC_LIST="dev_aws_disk ntpd"
|
||||
|
Loading…
Reference in New Issue
Block a user