OpenGrok
Cross Reference: ec2_init
xref
: /
src
/
distrib
/
utils
/
embedded
/
files
/
ec2_init
Home
|
History
|
Annotate
|
Download
|
only in
files
History log of
/src/distrib/utils/embedded/files/ec2_init
Revision
Date
Author
Comments
1.6
27-Sep-2023
riastradh
ec2_init: Suppress error message for nonexistent sysctl.
We're querying to see whether the sysctl node is available and if so
what its text is, not interested in the error message.
XXX pullup-10
1.5
15-Oct-2022
jmcneill
branches: 1.5.2;
ec2_init: Add support for Oracle Cloud
1.4
20-Jul-2021
rhialto
Extract just the random bits to feed to /dev/urandom.
This makes no difference in the randomness of the pool, but it improves
on the estimation (if any) of how many random bits were obtained.
Also make the ftp -q time out a bit longer since I got some time outs.
1.3
15-Jul-2021
rhialto
Add some OpenStack support.
I found that in the cloud I tried, by the time this script runs, there
is no default route in effect yet. That takes some 5 to 10 seconds
longer. So I added a retry loop, and to make that easier, changed the
order of queries. To make sure it doesn't wait ~forever for a
non-existent service I added the -q 1 option to ftp invocations.
I also added OpenStack-specific metadata which contains a different
random_seed of 512 bytes every time it is requested. See
https://github.com/openstack/nova/blob/master/nova/api/metadata/base.py#L355
It may not be trusted data but only in the strictest sense of the word.
The data can only be observed by people with access to the cloud's
overlay network for the particular VM.
1.2
01-Jul-2021
jmcneill
AWS marketplace does not allow root ssh logins. Create an ec2-user account
and install the ssh key in that user's home directory instead.
1.1
30-Nov-2018
jmcneill
branches: 1.1.2; 1.1.4;
Add support for configuring Amazon.com EC2 SSH keys and hostnames. While
here, only set wscons=YES if a wsdisplay0 device is present.
1.1.4.2
10-Jun-2019
christos
Sync with HEAD
1.1.4.1
30-Nov-2018
christos
file ec2_init was added on branch phil-wifi on 2019-06-10 21:42:37 +0000
1.1.2.2
26-Dec-2018
pgoyette
Sync with HEAD, resolve a few conflicts
1.1.2.1
30-Nov-2018
pgoyette
file ec2_init was added on branch pgoyette-compat on 2018-12-26 14:01:13 +0000
1.5.2.1
02-Oct-2023
martin
Pull up following revision(s) (requested by riastradh in ticket #382):
distrib/utils/embedded/files/ec2_init: revision 1.6
ec2_init: Suppress error message for nonexistent sysctl.
We're querying to see whether the sysctl node is available and if so
what its text is, not interested in the error message.
Indexes created Sun Oct 12 05:10:08 GMT 2025