Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2020 02:14:26 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r361150 - head/release/tools
Message-ID:  <202005180214.04I2EQCW096340@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cperciva
Date: Mon May 18 02:14:25 2020
New Revision: 361150
URL: https://svnweb.freebsd.org/changeset/base/361150

Log:
  Add ebsnvme-id to EC2 AMIs and enable /dev/aws/disk
  
  The ebsnvme-id utility exposes information about EC2 disks -- for
  Elastic Block Store volumes, their volume IDs and "linux device
  names", and for Instance Store (aka "Ephemeral") disks, their
  serial numbers.
  
  The dev_aws_disk rc.d script and associated devd.conf rule maintains
  a tree under /dev/aws/disk:
  	/dev/aws/disk/ebs/<volume ID>
  	/dev/aws/disk/linuxname/<linux device name>
  	/dev/aws/disk/ephemeral/<serial number>
  which are symlinks to the corresponding nda or nvd devices.
  
  MFC after:	1 week
  Sponsored by:	https://www.patreon.com/cperciva

Modified:
  head/release/tools/ec2.conf

Modified: head/release/tools/ec2.conf
==============================================================================
--- head/release/tools/ec2.conf	Mon May 18 01:48:55 2020	(r361149)
+++ head/release/tools/ec2.conf	Mon May 18 02:14:25 2020	(r361150)
@@ -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-daemon"
+export VM_EXTRA_PACKAGES="ec2-scripts firstboot-freebsd-update firstboot-pkgs dual-dhclient-daemon ebsnvme-id"
 
 # 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.
@@ -17,7 +17,7 @@ if [ "${TARGET_ARCH}" = "amd64" ]; then
 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"
+export VM_RC_LIST="ec2_configinit ec2_fetchkey ec2_loghostkey firstboot_freebsd_update firstboot_pkgs ntpd dev_aws_disk"
 
 # Build with a 3.9 GB UFS partition; the growfs rc.d script will expand
 # the partition to fill the root disk after the EC2 instance is launched.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005180214.04I2EQCW096340>