History log of /netbsd-src/distrib/utils/embedded/files/ec2_init (Results 1 – 6 of 6)
Revision Date Author Comments
# c2966121 27-Sep-2023 riastradh <riastradh@NetBSD.org>

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


# c99ed817 15-Oct-2022 jmcneill <jmcneill@NetBSD.org>

ec2_init: Add support for Oracle Cloud


# ad4e5873 20-Jul-2021 rhialto <rhialto@NetBSD.org>

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 m

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.

show more ...


# 7a21ea70 15-Jul-2021 rhialto <rhialto@NetBSD.org>

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,

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.

show more ...


# fc920d3d 01-Jul-2021 jmcneill <jmcneill@NetBSD.org>

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.


# af8f4864 30-Nov-2018 jmcneill <jmcneill@NetBSD.org>

Add support for configuring Amazon.com EC2 SSH keys and hostnames. While
here, only set wscons=YES if a wsdisplay0 device is present.