Merge ~arnd-arndnet/cloud-init:document_gce_datasource into cloud-init:master

Proposed by Arnd on 2017-09-21
Status: Superseded
Proposed branch: ~arnd-arndnet/cloud-init:document_gce_datasource
Merge into: cloud-init:master
Diff against target: 39 lines (+23/-0)
2 files modified
doc/rtd/topics/datasources.rst (+1/-0)
doc/rtd/topics/datasources/gce.rst (+22/-0)
Reviewer Review Type Date Requested Status
Server Team CI bot continuous-integration Needs Fixing on 2017-09-21
cloud-init commiters 2017-09-21 Pending
Review via email: mp+331148@code.launchpad.net

Commit Message

doc: document GCE datasource.

Add some minimal documentation for GCE datasource.

To post a comment you must log in.

FAILED: Continuous integration, rev:c21ff9a0a032ce31db7bf5a1c69946b295eb02ee
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https://code.launchpad.net/~arnd-arndnet/cloud-init/+git/cloud-init/+merge/331148/+edit-commit-message

https://jenkins.ubuntu.com/server/job/cloud-init-ci/339/
Executed test runs:
    SUCCESS: Checkout
    SUCCESS: Unit & Style Tests
    SUCCESS: Ubuntu LTS: Build
    SUCCESS: Ubuntu LTS: Integration
    SUCCESS: MAAS Compatability Testing
    IN_PROGRESS: Declarative: Post Actions

Click here to trigger a rebuild:
https://jenkins.ubuntu.com/server/job/cloud-init-ci/339/rebuild

review: Needs Fixing (continuous-integration)

Unmerged commits

c21ff9a... by Arnd Hannemann <email address hidden> on 2017-09-21

doc: include gce datasource in toc

4c1971b... by Arnd Hannemann <email address hidden> on 2017-08-21

doc: document gce datasource

Add some minimal documentation for gce datasource.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/doc/rtd/topics/datasources.rst b/doc/rtd/topics/datasources.rst
2index a60f5eb..7e2854d 100644
3--- a/doc/rtd/topics/datasources.rst
4+++ b/doc/rtd/topics/datasources.rst
5@@ -94,5 +94,6 @@ Follow for more information.
6 datasources/ovf.rst
7 datasources/smartos.rst
8 datasources/fallback.rst
9+ datasources/gce.rst
10
11 .. vi: textwidth=78
12diff --git a/doc/rtd/topics/datasources/gce.rst b/doc/rtd/topics/datasources/gce.rst
13new file mode 100644
14index 0000000..3b1b50b
15--- /dev/null
16+++ b/doc/rtd/topics/datasources/gce.rst
17@@ -0,0 +1,22 @@
18+.. _datasource_gce:
19+
20+Google Compute Engine
21+=====================
22+
23+The GCE datasource gets its data from the internal compute metadata server.
24+Metadata can be queried at the URL
25+``http://metadata.google.internal/computeMetadata/v1/``
26+from within an instance.
27+
28+(for reference see
29+https://cloud.google.com/compute/docs/storing-retrieving-metadata#querying)
30+
31+Currently the default project and instance level metadatakeys keys
32+``project/attributes/sshKeys`` and ``instance/attributes/ssh-keys`` are merged
33+to provide ``public-keys``.
34+
35+``user-data`` and ``user-data-encoding`` can be provided to cloud-init by
36+setting those custom metadata keys for an *instance*.
37+
38+
39+.. vi: textwidth=78

Subscribers

People subscribed via source and target branches

to all changes: