Commit graph

16 commits

Author SHA1 Message Date
Colin Percival
96a7f9e865 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
2015-02-22 10:32:30 +00:00
Mark Felder
52425cd450 Update "BSD" license in sysutils category 2014-12-11 00:40:16 +00:00
Colin Percival
3ffaa1bc35 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.)
2014-05-17 16:40:54 +00:00
Colin Percival
ad45e8d2b7 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.
2014-01-06 16:17:31 +00:00
Colin Percival
4863f70cc7 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]".
2013-12-08 05:46:31 +00:00
Colin Percival
311d06c76f 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.
2013-11-04 23:54:00 +00:00
Baptiste Daroussin
83f65384c9 Add NO_STAGE all over the place in preparation for the staging support (cat: sysutils) 2013-09-20 23:05:58 +00:00
Colin Percival
5f90963fe7 Update to 1.5: Replace rcvar=set_rcvar with rcvar=FOO_enable in the
rc.d scripts in order to be compatible with newer versions of rc.subr.
2013-09-18 02:59:40 +00:00
Colin Percival
5d8dc28060 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
2013-03-19 05:21:30 +00:00
Eitan Adler
997f760bc0 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
2013-03-17 16:44:03 +00:00
Colin Percival
1f23c0ab5d Unbreak INDEX. 2013-02-26 10:27:17 +00:00
Colin Percival
bfeb5d441a Break INDEX as part of testing of new portsnap build code.
I'll unbreak it in a few minutes.
2013-02-26 10:11:57 +00:00
Colin Percival
0c303516ee Update to 1.3: Make ec2_fetchkey work proper set up .ssh/authorized_keys
for a non-root user.
2012-10-05 23:16:21 +00:00
Colin Percival
41f643390b 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]
2012-10-04 23:19:05 +00:00
Colin Percival
5fa59343bd 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.
2012-08-31 14:06:20 +00:00
Colin Percival
adc7b827a8 Add ec2-scripts 1.0, startup scripts for FreeBSD/EC2 environment. 2012-08-16 04:57:49 +00:00