This package provides boot scripts used to enable FreeBSD to run on the
Amazon EC2 cloud computing platform. These include:
* Downloading the SSH public key which will be used to log in to a
newly-launched virtual machine,
* Printing SSH host key fingerprints to the console in a standard
format used by other EC2 images,
* Automatically configuring swap space on EC2 "ephemeral" disks, and
* Sending email when an virtual machine first boots and when rebooting
after a kernel panic.
sysutils/ec2-scripts: Update to 1.12
This makes the "fetch user SSH key" and "process user-data" scripts
support IMDSv2 via the net/aws-ec2-imdsv2-get utiltiy rather than
making HTTP requests to the IMDS directly.
Sponsored by: https://www.patreon.com/cperciva
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
sysutils: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <jsmith@resonatingmedia.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Landwehr <aaron@snaphat.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Adrian Chadd
* Adrian Chadd <adrian@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Eldridge <alane@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Deiter <alex.deiter@gmail.com>
(Only the first 15 lines of the commit message are shown above )
sysutils/ec2-scripts: Update to 1.11
While I'm here:
* Fetch distfile directly from github,
* Remove the NOFIRSTBOOT option, which was only useful on FreeBSD
releases prior to FreeBSD 11.0, all of which have long since ceased
to be supported.
* Add a dependency on sysutils/ebsnvme-id, which is used by the new
version of these scripts.
Update to 1.10. This fixes a bug in ec2_fetchkey which made it fail to
recognize when it was trying to create an account which already existed.
Submitted by: Bradley T. Hughes
Update to 1.9. This fixes a bug in ec2_ephemeralswap where the amount of
ephemeral storage on an EC2 instance is less than the amount of swap space
we want to autoconfigure. (In particular, the m3.medium instance type has
4 GB of attached SSD storage but 3.75 GB of RAM, which results in a desired
7.5 GB of swap space.)
Update to 1.8. The ec2_fetchkey rc.d script now creates the user
specified in the $ec2_fetchkey_user variable, so that it can be
(usefully) specified via user-data at EC2 instance launch time.
Update ec2-scripts to 1.7:
* Add support for system configuration via ec2 user-data.
* Add support for allocating swap space from ephemeral disks with EC2
(linux) device names of "xvd[a-j]" rather than just "sd[a-j]".
Update to 1.6. This uses "firstboot" support in the base system, so
provide an option which reverts back to the old version of this port.
I'm making it a configurable option rather than autodetecting based
on OSVERSION to make my life easier with "cross-building" images.
Update to 1.4: When creating swap space on EC2 ephemeral disks, parse EC2
device names of "sd[bcde]" in addition to "/dev/sd[bcde]". Until recently
EC2 hosts all used the latter form, but an increasing number seem to have
switched to the former.
Submitted by: Luke Marsden
Fix minor nit: use the canconical FreeBSD.org form for email addresses.
This was causing me issues when attempting to gather certain statistics.
While here trim header
Approved by: miwi, adrian, tj
No objection from: db, bjk, cperciva, scheidell, osa
Update to 1.2. This fixes a division-by-zero error when there are no
ephemeral disks present [1], and avoids enabling crash dumps to an
XXXs1b partition which isn't being used for swapping.
Submitted by: Simon Olofsson [1]
Update to version 1.1 of my ec2 boot scripts: Use the SWAPMETA entry in
the output of `vmstat -z` to figure out how much swap space we can
safely configure, instead of the kern.maxswzone sysctl.