The NetBSD Project

CVS log for src/distrib/utils/embedded/files/ec2_init

[BACK] Up to [cvs.NetBSD.org] / src / distrib / utils / embedded / files

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.5.2.1 / (download) - annotate - [select for diffs], Mon Oct 2 13:27:41 2023 UTC (5 months ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

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.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Sep 27 00:27:07 2023 UTC (5 months, 1 week ago) by riastradh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Sat Oct 15 18:32:30 2022 UTC (16 months, 2 weeks ago) by jmcneill
Branch: MAIN
CVS Tags: netbsd-10-base
Branch point for: netbsd-10
Changes since 1.4: +29 -11 lines
Diff to previous 1.4 (colored)

ec2_init: Add support for Oracle Cloud

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jul 20 19:31:23 2021 UTC (2 years, 7 months ago) by rhialto
Branch: MAIN
Changes since 1.3: +12 -6 lines
Diff to previous 1.3 (colored)

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.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jul 15 19:03:17 2021 UTC (2 years, 7 months ago) by rhialto
Branch: MAIN
Changes since 1.2: +27 -9 lines
Diff to previous 1.2 (colored)

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.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jul 1 18:05:45 2021 UTC (2 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.1: +16 -3 lines
Diff to previous 1.1 (colored)

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.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Mon Jun 10 21:42:37 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.1.4.1: +52 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:13 2018 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.1.2.1: +52 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.1.4.1, Fri Nov 30 20:53:02 2018 UTC (5 years, 3 months ago) by christos
Branch: phil-wifi
Changes since 1.1: +0 -52 lines
FILE REMOVED

file ec2_init was added on branch phil-wifi on 2019-06-10 21:42:37 +0000

Revision 1.1.2.1, Fri Nov 30 20:53:02 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1: +0 -52 lines
FILE REMOVED

file ec2_init was added on branch pgoyette-compat on 2018-12-26 14:01:13 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Fri Nov 30 20:53:02 2018 UTC (5 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: phil-wifi, pgoyette-compat

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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>